1 --- a/include/linux/msdos_fs.h
2 +++ b/include/linux/msdos_fs.h
4 #define MSDOS_DOT ". " /* ".", padded to MSDOS_NAME chars */
5 #define MSDOS_DOTDOT ".. " /* "..", padded to MSDOS_NAME chars */
8 /* media of boot sector */
9 static inline int fat_valid_media(u8 media)
11 return 0xf8 <= media || media == 0xf0;
15 #define FAT_FIRST_ENT(s, x) ((MSDOS_SB(s)->fat_bits == 32 ? 0x0FFFFF00 : \
16 MSDOS_SB(s)->fat_bits == 16 ? 0xFF00 : 0xF00) | (x))