xref: /linux/include/linux/msdos_fs.h (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
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