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: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35c879dc302cc08cbbf108deb2be1c2859da0d18;p=linux-2.6 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 22f1010bf7..088b011bb9 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; }