From: Miklos Szeredi Date: Fri, 8 Feb 2008 12:21:42 +0000 (-0800) Subject: mount options: fix ext2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=35c879dc302cc08cbbf108deb2be1c2859da0d18;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 22f1010bf79f..088b011bb97e 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; }