From: Theodore Ts'o Date: Mon, 26 May 2008 14:28:28 +0000 (-0400) Subject: ext4: Display the journal_async_commit mount option in /proc/mounts X-Git-Tag: v2.6.26-rc6~29^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=cd0b6a39a1d68b61b1073662f40f747c8b728f98;p=linux-2.6-omap-h63xx.git ext4: Display the journal_async_commit mount option in /proc/mounts Cc: Andreas Dilger Cc: Girish Shilamkar Signed-off-by: "Theodore Ts'o" --- diff --git a/fs/ext4/super.c b/fs/ext4/super.c index d01a32e8b50..ba92c606ad9 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -731,6 +731,8 @@ static int ext4_show_options(struct seq_file *seq, struct vfsmount *vfs) } if (test_opt(sb, BARRIER)) seq_puts(seq, ",barrier=1"); + if (test_opt(sb, JOURNAL_ASYNC_COMMIT)) + seq_puts(seq, ",journal_async_commit"); if (test_opt(sb, NOBH)) seq_puts(seq, ",nobh"); if (!test_opt(sb, EXTENTS))