]> err.no Git - linux-2.6/commitdiff
ext4: Display the journal_async_commit mount option in /proc/mounts
authorTheodore Ts'o <tytso@mit.edu>
Mon, 26 May 2008 14:28:28 +0000 (10:28 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 26 May 2008 14:28:28 +0000 (10:28 -0400)
Cc: Andreas Dilger <adilger@clusterfs.com>
Cc: Girish Shilamkar <girish@clusterfs.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c

index d01a32e8b50a224fe6e8612dff33f1f6ff041507..ba92c606ad9a9e9cbce7c1b75cd4f7aba8cf1bd0 100644 (file)
@@ -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))