diff options
Diffstat (limited to 'include/linux/msdos_fs.h')
| -rw-r--r-- | include/linux/msdos_fs.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/msdos_fs.h b/include/linux/msdos_fs.h index d9035c73e5d1..ce6c85815cbd 100644 --- a/include/linux/msdos_fs.h +++ b/include/linux/msdos_fs.h | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | #ifndef _LINUX_MSDOS_FS_H | 1 | #ifndef _LINUX_MSDOS_FS_H |
| 2 | #define _LINUX_MSDOS_FS_H | 2 | #define _LINUX_MSDOS_FS_H |
| 3 | 3 | ||
| 4 | #include <linux/magic.h> | ||
| 5 | |||
| 4 | /* | 6 | /* |
| 5 | * The MS-DOS filesystem constants/structures | 7 | * The MS-DOS filesystem constants/structures |
| 6 | */ | 8 | */ |
| @@ -18,8 +20,6 @@ | |||
| 18 | #define CT_LE_L(v) cpu_to_le32(v) | 20 | #define CT_LE_L(v) cpu_to_le32(v) |
| 19 | 21 | ||
| 20 | 22 | ||
| 21 | #define MSDOS_SUPER_MAGIC 0x4d44 /* MD */ | ||
| 22 | |||
| 23 | #define MSDOS_ROOT_INO 1 /* == MINIX_ROOT_INO */ | 23 | #define MSDOS_ROOT_INO 1 /* == MINIX_ROOT_INO */ |
| 24 | #define MSDOS_DIR_BITS 5 /* log2(sizeof(struct msdos_dir_entry)) */ | 24 | #define MSDOS_DIR_BITS 5 /* log2(sizeof(struct msdos_dir_entry)) */ |
| 25 | 25 | ||
| @@ -204,6 +204,7 @@ struct fat_mount_options { | |||
| 204 | unicode_xlate:1, /* create escape sequences for unhandled Unicode */ | 204 | unicode_xlate:1, /* create escape sequences for unhandled Unicode */ |
| 205 | numtail:1, /* Does first alias have a numeric '~1' type tail? */ | 205 | numtail:1, /* Does first alias have a numeric '~1' type tail? */ |
| 206 | atari:1, /* Use Atari GEMDOS variation of MS-DOS fs */ | 206 | atari:1, /* Use Atari GEMDOS variation of MS-DOS fs */ |
| 207 | flush:1, /* write things quickly */ | ||
| 207 | nocase:1; /* Does this need case conversion? 0=need case conversion*/ | 208 | nocase:1; /* Does this need case conversion? 0=need case conversion*/ |
| 208 | }; | 209 | }; |
| 209 | 210 | ||
| @@ -412,6 +413,8 @@ extern int fat_sync_inode(struct inode *inode); | |||
| 412 | extern int fat_fill_super(struct super_block *sb, void *data, int silent, | 413 | extern int fat_fill_super(struct super_block *sb, void *data, int silent, |
| 413 | struct inode_operations *fs_dir_inode_ops, int isvfat); | 414 | struct inode_operations *fs_dir_inode_ops, int isvfat); |
| 414 | 415 | ||
| 416 | extern int fat_flush_inodes(struct super_block *sb, struct inode *i1, | ||
| 417 | struct inode *i2); | ||
| 415 | /* fat/misc.c */ | 418 | /* fat/misc.c */ |
| 416 | extern void fat_fs_panic(struct super_block *s, const char *fmt, ...); | 419 | extern void fat_fs_panic(struct super_block *s, const char *fmt, ...); |
| 417 | extern void fat_clusters_flush(struct super_block *sb); | 420 | extern void fat_clusters_flush(struct super_block *sb); |
