msdos_fs.h 234 Bytes
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2 3
#ifndef _LINUX_MSDOS_FS_H
#define _LINUX_MSDOS_FS_H

4
#include <uapi/linux/msdos_fs.h>
5

6 7 8 9 10
/* media of boot sector */
static inline int fat_valid_media(u8 media)
{
	return 0xf8 <= media || media == 0xf0;
}
11
#endif /* !_LINUX_MSDOS_FS_H */