diff options
Diffstat (limited to 'fs/fat/fat.h')
-rw-r--r-- | fs/fat/fat.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/fat/fat.h b/fs/fat/fat.h index e9cc3f0d58e2..a7b1d86b37c7 100644 --- a/fs/fat/fat.h +++ b/fs/fat/fat.h | |||
@@ -23,6 +23,9 @@ | |||
23 | #define FAT_ERRORS_PANIC 2 /* panic on error */ | 23 | #define FAT_ERRORS_PANIC 2 /* panic on error */ |
24 | #define FAT_ERRORS_RO 3 /* remount r/o on error */ | 24 | #define FAT_ERRORS_RO 3 /* remount r/o on error */ |
25 | 25 | ||
26 | #define FAT_NFS_STALE_RW 1 /* NFS RW support, can cause ESTALE */ | ||
27 | #define FAT_NFS_NOSTALE_RO 2 /* NFS RO support, no ESTALE issue */ | ||
28 | |||
26 | struct fat_mount_options { | 29 | struct fat_mount_options { |
27 | kuid_t fs_uid; | 30 | kuid_t fs_uid; |
28 | kgid_t fs_gid; | 31 | kgid_t fs_gid; |
@@ -34,6 +37,7 @@ struct fat_mount_options { | |||
34 | unsigned short shortname; /* flags for shortname display/create rule */ | 37 | unsigned short shortname; /* flags for shortname display/create rule */ |
35 | unsigned char name_check; /* r = relaxed, n = normal, s = strict */ | 38 | unsigned char name_check; /* r = relaxed, n = normal, s = strict */ |
36 | unsigned char errors; /* On error: continue, panic, remount-ro */ | 39 | unsigned char errors; /* On error: continue, panic, remount-ro */ |
40 | unsigned char nfs; /* NFS support: nostale_ro, stale_rw */ | ||
37 | unsigned short allow_utime;/* permission for setting the [am]time */ | 41 | unsigned short allow_utime;/* permission for setting the [am]time */ |
38 | unsigned quiet:1, /* set = fake successful chmods and chowns */ | 42 | unsigned quiet:1, /* set = fake successful chmods and chowns */ |
39 | showexec:1, /* set = only set x bit for com/exe/bat */ | 43 | showexec:1, /* set = only set x bit for com/exe/bat */ |
@@ -48,8 +52,7 @@ struct fat_mount_options { | |||
48 | usefree:1, /* Use free_clusters for FAT32 */ | 52 | usefree:1, /* Use free_clusters for FAT32 */ |
49 | tz_set:1, /* Filesystem timestamps' offset set */ | 53 | tz_set:1, /* Filesystem timestamps' offset set */ |
50 | rodir:1, /* allow ATTR_RO for directory */ | 54 | rodir:1, /* allow ATTR_RO for directory */ |
51 | discard:1, /* Issue discard requests on deletions */ | 55 | discard:1; /* Issue discard requests on deletions */ |
52 | nfs:1; /* Do extra work needed for NFS export */ | ||
53 | }; | 56 | }; |
54 | 57 | ||
55 | #define FAT_HASH_BITS 8 | 58 | #define FAT_HASH_BITS 8 |