File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ struct fat_boot_sector {
135
135
for mount state. */
136
136
__u8 signature ; /* extended boot signature */
137
137
__u8 vol_id [4 ]; /* volume ID */
138
- __u8 vol_label [11 ]; /* volume label */
138
+ __u8 vol_label [MSDOS_NAME ]; /* volume label */
139
139
__u8 fs_type [8 ]; /* file system type */
140
140
/* other fields are not added here */
141
141
} fat16 ;
@@ -158,7 +158,7 @@ struct fat_boot_sector {
158
158
for mount state. */
159
159
__u8 signature ; /* extended boot signature */
160
160
__u8 vol_id [4 ]; /* volume ID */
161
- __u8 vol_label [11 ]; /* volume label */
161
+ __u8 vol_label [MSDOS_NAME ]; /* volume label */
162
162
__u8 fs_type [8 ]; /* file system type */
163
163
/* other fields are not added here */
164
164
} fat32 ;
You can’t perform that action at this time.
0 commit comments