2005-04-17 02:20:36 +04:00
|
|
|
#ifndef _LINUX_MSDOS_FS_H
|
|
|
|
#define _LINUX_MSDOS_FS_H
|
|
|
|
|
2012-10-13 13:46:48 +04:00
|
|
|
#include <uapi/linux/msdos_fs.h>
|
2006-09-24 19:13:19 +04:00
|
|
|
|
2008-06-08 22:43:10 +04:00
|
|
|
/* media of boot sector */
|
|
|
|
static inline int fat_valid_media(u8 media)
|
|
|
|
{
|
|
|
|
return 0xf8 <= media || media == 0xf0;
|
|
|
|
}
|
2008-11-06 23:53:46 +03:00
|
|
|
#endif /* !_LINUX_MSDOS_FS_H */
|