* [PATCH] ext2: print xip mount option in ext2_show_options
@ 2006-01-23 15:52 Carsten Otte
0 siblings, 0 replies; only message in thread
From: Carsten Otte @ 2006-01-23 15:52 UTC (permalink / raw)
To: linux-fsdevel, linux-kernel, akpm; +Cc: schwidefsky
[PATCH] ext2: print xip mount option in ext2_show_options
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>
--
diff -u -w -u -r1.35 super.c
--- fs/ext2/super.c 4 Jan 2006 12:22:02 -0000 1.35
+++ fs/ext2/super.c 23 Jan 2006 15:14:11 -0000
@@ -221,6 +221,11 @@
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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-23 15:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-23 15:52 [PATCH] ext2: print xip mount option in ext2_show_options Carsten Otte
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).