From: Miklos Szeredi Date: Fri, 8 Feb 2008 12:21:42 +0000 (-0800) Subject: mount options: fix ext2 X-Git-Tag: v2.6.25-rc1~86 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=35c879dc302cc08cbbf108deb2be1c2859da0d18;p=linux-2.6-omap-h63xx.git mount options: fix ext2 Add noreservation option to /proc/mounts for ext2 filesystems. Signed-off-by: Miklos Szeredi Acked-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 22f1010bf79..088b011bb97 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; }