diff options
author | Jan Kara <jack@suse.cz> | 2010-05-16 17:00:00 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2010-05-16 17:00:00 -0400 |
commit | 39a4bade8c1826b658316d66ee81c09b0a4d7d42 (patch) | |
tree | 3f61798e2e0b7b8ba74b4257ff207eb31166762e /fs/ext4 | |
parent | 291dae472a8976ff461f24c848fee2a03f9ea3c8 (diff) |
ext4: Show journal_checksum option
We failed to show journal_checksum option in /proc/mounts. Fix it.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index c597ec73da1..2e8790e801f 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -942,6 +942,8 @@ static int ext4_show_options(struct seq_file *seq, struct vfsmount *vfs) | |||
942 | seq_puts(seq, test_opt(sb, BARRIER) ? "1" : "0"); | 942 | seq_puts(seq, test_opt(sb, BARRIER) ? "1" : "0"); |
943 | if (test_opt(sb, JOURNAL_ASYNC_COMMIT)) | 943 | if (test_opt(sb, JOURNAL_ASYNC_COMMIT)) |
944 | seq_puts(seq, ",journal_async_commit"); | 944 | seq_puts(seq, ",journal_async_commit"); |
945 | else if (test_opt(sb, JOURNAL_CHECKSUM)) | ||
946 | seq_puts(seq, ",journal_checksum"); | ||
945 | if (test_opt(sb, NOBH)) | 947 | if (test_opt(sb, NOBH)) |
946 | seq_puts(seq, ",nobh"); | 948 | seq_puts(seq, ",nobh"); |
947 | if (test_opt(sb, I_VERSION)) | 949 | if (test_opt(sb, I_VERSION)) |