mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
![David Howells](/assets/img/avatar_default.png)
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
11 lines
234 B
C
11 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 */
|