Messages in this thread | | | Date | Mon, 26 Nov 2018 14:07:08 +0900 | From | Sergey Senozhatsky <> | Subject | Re: [PATCH] fat: Replaced 11 magic to MSDOS_NAME for volume label |
| |
On (11/24/18 17:01), Carmeli Tamir wrote: > The FAT file system volume label file stored in the root directory should > match the volume label field in the FAT boot sector. As consequence, the > max length of these fields ought to be the same. This patch replaces the > magic '11' usef in the struct fat_boot_sector with MSDOS_NAME, > which is used in struct msdos_dir_entry. > > Please check the following references: > 1. Microsoft FAT specification 2005 > (http://read.pudn.com/downloads77/ebook/294884/FAT32%20Spec%20%28SDA%20Contribution%29.pdf). [..] > Signed-off-by: Carmeli Tamir <carmeli.tamir@gmail.com>
Looks good to me, Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
-ss
| |