[PATCH] ext2: print xip mount option in ext2_show_options

From: Carsten Otte
Date: Mon Jan 23 2006 - 10:51:32 EST


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



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/