diff options
author | Jan Kara <jack@suse.cz> | 2005-07-12 16:58:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-12 19:01:01 -0400 |
commit | 08c6a96fd77836856c090ebb39beadc81cb8484d (patch) | |
tree | 36e643a41179078abcb8a866894586cba9bbf7e0 /include | |
parent | 5323125031799a7fd8602ce150c3902aedfdcba6 (diff) |
[PATCH] ext3: fix options parsing
Fix a problem with ext3 mount option parsing. When remount of a filesystem
fails, old options are now restored.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ext3_fs.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/ext3_fs.h b/include/linux/ext3_fs.h index 4b6e1ab216a5..c16662836c58 100644 --- a/include/linux/ext3_fs.h +++ b/include/linux/ext3_fs.h | |||
@@ -239,6 +239,20 @@ struct ext3_new_group_data { | |||
239 | #define EXT3_IOC_SETRSVSZ _IOW('f', 6, long) | 239 | #define EXT3_IOC_SETRSVSZ _IOW('f', 6, long) |
240 | 240 | ||
241 | /* | 241 | /* |
242 | * Mount options | ||
243 | */ | ||
244 | struct ext3_mount_options { | ||
245 | unsigned long s_mount_opt; | ||
246 | uid_t s_resuid; | ||
247 | gid_t s_resgid; | ||
248 | unsigned long s_commit_interval; | ||
249 | #ifdef CONFIG_QUOTA | ||
250 | int s_jquota_fmt; | ||
251 | char *s_qf_names[MAXQUOTAS]; | ||
252 | #endif | ||
253 | }; | ||
254 | |||
255 | /* | ||
242 | * Structure of an inode on the disk | 256 | * Structure of an inode on the disk |
243 | */ | 257 | */ |
244 | struct ext3_inode { | 258 | struct ext3_inode { |