diff options
author | Jan Kara <jack@suse.cz> | 2005-07-12 16:58:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-12 19:01:01 -0400 |
commit | 50a5223428bbe77bc0f312100c950b6f4520ba34 (patch) | |
tree | d650ea3ff6d831772d86bf127381a3c9a9735cce /fs/ext2/ext2.h | |
parent | 08c6a96fd77836856c090ebb39beadc81cb8484d (diff) |
[PATCH] ext2: fix mount options parting
Restore old set of ext2 mount options when remounting of a filesystem
fails.
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 'fs/ext2/ext2.h')
-rw-r--r-- | fs/ext2/ext2.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/ext2/ext2.h b/fs/ext2/ext2.h index eed521d22cf0..e977f8566d14 100644 --- a/fs/ext2/ext2.h +++ b/fs/ext2/ext2.h | |||
@@ -2,6 +2,15 @@ | |||
2 | #include <linux/ext2_fs.h> | 2 | #include <linux/ext2_fs.h> |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * ext2 mount options | ||
6 | */ | ||
7 | struct ext2_mount_options { | ||
8 | unsigned long s_mount_opt; | ||
9 | uid_t s_resuid; | ||
10 | gid_t s_resgid; | ||
11 | }; | ||
12 | |||
13 | /* | ||
5 | * second extended file system inode data in memory | 14 | * second extended file system inode data in memory |
6 | */ | 15 | */ |
7 | struct ext2_inode_info { | 16 | struct ext2_inode_info { |