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>
This commit is contained in:
Miklos Szeredi 2008-02-08 04:21:42 -08:00 committed by Linus Torvalds
parent b87a267eb7
commit 35c879dc30
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}