OSHW-DEIMOS/SOFTWARE/A64-TERES/linux-a64/include/linux/msdos_fs.h
Dimitar Gamishev f9b0e7a283 linux
2017-10-13 14:07:04 +03:00

12 lines
234 B
C

#ifndef _LINUX_MSDOS_FS_H
#define _LINUX_MSDOS_FS_H
#include <uapi/linux/msdos_fs.h>
/* media of boot sector */
static inline int fat_valid_media(u8 media)
{
return 0xf8 <= media || media == 0xf0;
}
#endif /* !_LINUX_MSDOS_FS_H */