Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _LINUX_MSDOS_FS_H |
| 2 | #define _LINUX_MSDOS_FS_H |
| 3 | |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 4 | #include <uapi/linux/msdos_fs.h> |
Jeff Garzik | e18fa70 | 2006-09-24 11:13:19 -0400 | [diff] [blame] | 5 | |
Adrian Bunk | f751aa1 | 2008-06-08 21:43:10 +0300 | [diff] [blame] | 6 | /* media of boot sector */ |
| 7 | static inline int fat_valid_media(u8 media) |
| 8 | { |
| 9 | return 0xf8 <= media || media == 0xf0; |
| 10 | } |
OGAWA Hirofumi | 9e975da | 2008-11-06 12:53:46 -0800 | [diff] [blame] | 11 | #endif /* !_LINUX_MSDOS_FS_H */ |