ext4: Show delalloc options From: Aneesh Kumar K.V Delayed allocation is 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 | 3 +++ 1 file changed, 3 insertions(+) Index: linux-2.6.24-rc8/fs/ext4/super.c =================================================================== --- linux-2.6.24-rc8.orig/fs/ext4/super.c 2008-01-25 09:10:44.000000000 -0800 +++ linux-2.6.24-rc8/fs/ext4/super.c 2008-01-25 09:10:48.000000000 -0800 @@ -740,6 +740,9 @@ static int ext4_show_options(struct seq_ seq_puts(seq, ",nomballoc"); if (test_opt(sb, I_VERSION)) seq_puts(seq, ",i_version"); + if (!test_opt(sb, DELALLOC)) + seq_puts(seq, ",nodelalloc"); + if (sbi->s_stripe) seq_printf(seq, ",stripe=%lu", sbi->s_stripe);