diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2008-02-08 04:21:42 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 09:22:40 -0800 |
commit | 35c879dc302cc08cbbf108deb2be1c2859da0d18 (patch) | |
tree | 690b5a567d2b61305811ab21c29b99942ee2cb64 /fs/ext2 | |
parent | b87a267eb7291d075df76ebabd43c7f961b12f67 (diff) | |
download | linux-35c879dc302cc08cbbf108deb2be1c2859da0d18.tar.gz linux-35c879dc302cc08cbbf108deb2be1c2859da0d18.tar.bz2 linux-35c879dc302cc08cbbf108deb2be1c2859da0d18.zip |
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>
Diffstat (limited to 'fs/ext2')
-rw-r--r-- | fs/ext2/super.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |