1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _LINUX_MSDOS_FS_H 3 #define _LINUX_MSDOS_FS_H 4 5 #include <uapi/linux/msdos_fs.h> 6 7 /* media of boot sector */ 8 static inline int fat_valid_media(u8 media) 9 { 10 return 0xf8 <= media || media == 0xf0; 11 } 12 #endif /* !_LINUX_MSDOS_FS_H */ 13
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.