Commit 35c879dc authored by Miklos Szeredi's avatar Miklos Szeredi Committed by Linus Torvalds

mount options: fix ext2

Add noreservation option to /proc/mounts for ext2 filesystems.
Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
Acked-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b87a267e
...@@ -285,6 +285,9 @@ static int ext2_show_options(struct seq_file *seq, struct vfsmount *vfs) ...@@ -285,6 +285,9 @@ static int ext2_show_options(struct seq_file *seq, struct vfsmount *vfs)
seq_puts(seq, ",xip"); seq_puts(seq, ",xip");
#endif #endif
if (!test_opt(sb, RESERVATION))
seq_puts(seq, ",noreservation");
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment