projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a185461
)
[PATCH] ext2: print xip mount option in ext2_show_options
author
Carsten Otte
<cotte@de.ibm.com>
Fri, 3 Feb 2006 11:04:25 +0000
(
03:04
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 3 Feb 2006 16:32:07 +0000
(08:32 -0800)
In case we have CONFIG_FS_XIP, ext2_show_options shows "xip" if
EXT2_MOUNT_XIP mount flag is set.
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext2/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext2/super.c
b/fs/ext2/super.c
index 8d6819846fc97241375542c7316d2d9cd6a0b26e..cb6f9bd658de9646da588af8feacb64bbe1d3742 100644
(file)
--- a/
fs/ext2/super.c
+++ b/
fs/ext2/super.c
@@
-221,6
+221,11
@@
static int ext2_show_options(struct seq_file *seq, struct vfsmount *vfs)
seq_puts(seq, ",grpquota");
#endif
+#if defined(CONFIG_EXT2_FS_XIP)
+ if (sbi->s_mount_opt & EXT2_MOUNT_XIP)
+ seq_puts(seq, ",xip");
+#endif
+
return 0;
}