ext4: Show mballoc and delalloc options From: Aneesh Kumar K.V Both these options are enabled by default. So if they are are not set in mount options that means the user explicity disabled them using nomablloc and nodelalloc option. Show the same in ext4_show_options Signed-off-by: Aneesh Kumar K.V Acked-by: Eric Sandeen Signed-off-by: Mingming Cao --- fs/ext4/super.c | 5 +++++ 1 file changed, 5 insertions(+) Index: linux-2.6.24-rc3/fs/ext4/super.c =================================================================== --- linux-2.6.24-rc3.orig/fs/ext4/super.c 2007-12-03 16:03:49.000000000 -0800 +++ linux-2.6.24-rc3/fs/ext4/super.c 2007-12-03 16:05:45.000000000 -0800 @@ -737,6 +737,11 @@ static int ext4_show_options(struct seq_ seq_puts(seq, ",noextents"); if (test_opt(sb, I_VERSION)) seq_puts(seq, ",i_version"); + if (!test_opt(sb, MBALLOC)) + seq_puts(seq, ",nomballoc"); + if (!test_opt(sb, DELALLOC)) + seq_puts(seq, ",nodelalloc"); + if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) seq_puts(seq, ",data=journal");