diff options
author | Jan Kara <jack@suse.cz> | 2005-07-12 13:58:29 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-12 16:01:01 -0700 |
commit | 50a5223428bbe77bc0f312100c950b6f4520ba34 (patch) | |
tree | d650ea3ff6d831772d86bf127381a3c9a9735cce /fs/ext2/ext2.h | |
parent | 08c6a96fd77836856c090ebb39beadc81cb8484d (diff) | |
download | kernel_samsung_smdk4412-50a5223428bbe77bc0f312100c950b6f4520ba34.tar.gz kernel_samsung_smdk4412-50a5223428bbe77bc0f312100c950b6f4520ba34.tar.bz2 kernel_samsung_smdk4412-50a5223428bbe77bc0f312100c950b6f4520ba34.zip |
[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 eed521d22cf..e977f8566d1 100644 --- a/fs/ext2/ext2.h +++ b/fs/ext2/ext2.h @@ -2,6 +2,15 @@ #include <linux/ext2_fs.h> /* + * ext2 mount options + */ +struct ext2_mount_options { + unsigned long s_mount_opt; + uid_t s_resuid; + gid_t s_resgid; +}; + +/* * second extended file system inode data in memory */ struct ext2_inode_info { |