xref: /linux/include/linux/msdos_fs.h (revision b889fcf63cb62e7fdb7816565e28f44dbe4a76a5)
1 #ifndef _LINUX_MSDOS_FS_H
2 #define _LINUX_MSDOS_FS_H
3 
4 #include <uapi/linux/msdos_fs.h>
5 
6 /* media of boot sector */
7 static inline int fat_valid_media(u8 media)
8 {
9 	return 0xf8 <= media || media == 0xf0;
10 }
11 #endif /* !_LINUX_MSDOS_FS_H */
12