2007-12-03 16:31:59

by Cordenner jean noel

[permalink] [raw]
Subject: [patch] ext4 i_version: make the flag visible on /proc/mounts

Hi,

This patch adds the i_version flag in ext4_show_options().



Index: linux-2.6.24-rc3-ext4-1/fs/ext4/super.c
===================================================================
--- linux-2.6.24-rc3-ext4-1.orig/fs/ext4/super.c 2007-12-03 16:14:55.000000000 +0100
+++ linux-2.6.24-rc3-ext4-1/fs/ext4/super.c 2007-12-03 16:16:36.000000000 +0100
@@ -732,6 +732,8 @@
seq_puts(seq, ",nobh");
if (!test_opt(sb, EXTENTS))
seq_puts(seq, ",noextents");
+ if (test_opt(sb, I_VERSION))
+ seq_puts(seq, ",i_version");

if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA)
seq_puts(seq, ",data=journal");