diff options
author | Rob Landley <rob@landley.net> | 2006-03-25 06:07:58 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 11:22:58 -0500 |
commit | 76c67de460b3d00b7ab8a96bb18f07ca47d65fba (patch) | |
tree | d14478b129689dfc985efa3026bebfef2b4401b3 | |
parent | 258f4885e3b7b3ed06a35c02a94c8c62a4ac4739 (diff) |
[PATCH] Ext2 flags shouldn't report "nogrpid"
If I mount ext2 "rw", I want it to say "rw", not "rw,nogrpid".
I caught this writing an automated regression test script for the busybox
mount command. The symptom is
/dev/loop0 on /images/ext2.dir type ext2 (rw,nogrpid)
instead of:
/dev/loop0 on /images/ext2.dir type ext2 (rw)
The behavior was introduced by git commit
8fc2751beb0941966d3a97b26544e8585e428c08.
Signed-off-by: Rob Landley <rob@landley.net>
Cc: Mark Bellon <mbellon@mvista.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | fs/ext2/super.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 268b73f5847c..7e30bae174ed 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c | |||
@@ -211,8 +211,6 @@ static int ext2_show_options(struct seq_file *seq, struct vfsmount *vfs) | |||
211 | 211 | ||
212 | if (sbi->s_mount_opt & EXT2_MOUNT_GRPID) | 212 | if (sbi->s_mount_opt & EXT2_MOUNT_GRPID) |
213 | seq_puts(seq, ",grpid"); | 213 | seq_puts(seq, ",grpid"); |
214 | else | ||
215 | seq_puts(seq, ",nogrpid"); | ||
216 | 214 | ||
217 | #if defined(CONFIG_QUOTA) | 215 | #if defined(CONFIG_QUOTA) |
218 | if (sbi->s_mount_opt & EXT2_MOUNT_USRQUOTA) | 216 | if (sbi->s_mount_opt & EXT2_MOUNT_USRQUOTA) |