blob: e1b163f912fbf0ad484c2435d08577f7929452b6 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _LINUX_MSDOS_FS_H
2#define _LINUX_MSDOS_FS_H
3
David Howells607ca462012-10-13 10:46:48 +01004#include <uapi/linux/msdos_fs.h>
Jeff Garzike18fa702006-09-24 11:13:19 -04005
Adrian Bunkf751aa12008-06-08 21:43:10 +03006/* media of boot sector */
7static inline int fat_valid_media(u8 media)
8{
9 return 0xf8 <= media || media == 0xf0;
10}
OGAWA Hirofumi9e975da2008-11-06 12:53:46 -080011#endif /* !_LINUX_MSDOS_FS_H */