summaryrefslogtreecommitdiffstats
path: root/fs/ext2/super.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2008-02-08 04:21:42 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 09:22:40 -0800
commit35c879dc302cc08cbbf108deb2be1c2859da0d18 (patch)
tree690b5a567d2b61305811ab21c29b99942ee2cb64 /fs/ext2/super.c
parentb87a267eb7291d075df76ebabd43c7f961b12f67 (diff)
downloadop-kernel-dev-35c879dc302cc08cbbf108deb2be1c2859da0d18.zip
op-kernel-dev-35c879dc302cc08cbbf108deb2be1c2859da0d18.tar.gz
mount options: fix ext2
Add noreservation option to /proc/mounts for ext2 filesystems. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Acked-by: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ext2/super.c')
-rw-r--r--fs/ext2/super.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ext2/super.c b/fs/ext2/super.c
index 22f1010..088b011 100644
--- a/fs/ext2/super.c
+++ b/fs/ext2/super.c
@@ -285,6 +285,9 @@ static int ext2_show_options(struct seq_file *seq, struct vfsmount *vfs)
seq_puts(seq, ",xip");
#endif
+ if (!test_opt(sb, RESERVATION))
+ seq_puts(seq, ",noreservation");
+
return 0;
}
OpenPOWER on IntegriCloud