projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b87a267
)
mount options: fix ext2
author
Miklos Szeredi
<mszeredi@suse.cz>
Fri, 8 Feb 2008 12:21:42 +0000
(
04:21
-0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:40 +0000
(09:22 -0800)
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>
fs/ext2/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext2/super.c
b/fs/ext2/super.c
index 22f1010bf79f9f40cb9557d100694f2af9397f74..088b011bb97e2882892a766a94b9bcac2894d984 100644
(file)
--- 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;
}