Skip to contentSkip to conversation

ext4: Show journal_checksum option

PATCH RESEND In review Jan Kara 2 participants 3 messages May 3, 2010 – May 21, 2010 ext4 file system

lore
Share & tools
lore

Jan Kara

author reviewer
#0 lore raw

PATCH RESEND 1/1 ext4: Show journal_checksum option

We failed to show journal_checksum option in /proc/mounts. Fix it.

---
 fs/ext4/super.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
fs/ext4/super.c +2 -0
index 8f4f079..04fdaf1 100644
@@ -846,6 +846,8 @@ static int ext4_show_options(struct seq_file *seq, struct vfsmount *vfs)
 	seq_puts(seq, test_opt(sb, BARRIER) ? "1" : "0");
 	if (test_opt(sb, JOURNAL_ASYNC_COMMIT))
 		seq_puts(seq, ",journal_async_commit");
+	else if (test_opt(sb, JOURNAL_CHECKSUM))
+		seq_puts(seq, ",journal_checksum");
 	if (test_opt(sb, NOBH))
 		seq_puts(seq, ",nobh");
 	if (test_opt(sb, I_VERSION))
Signature · 1 line
1.6.0.2
author reviewer
#1 lore raw
Quoted 3 lines

We failed to show journal_checksum option in /proc/mounts. Fix it.

Ted, could you please pick this patch? Thanks.

Honza

Quoted 24 lines
---
 fs/ext4/super.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
fs/ext4/super.c +2 -0
index 8f4f079..04fdaf1 100644
@@ -846,6 +846,8 @@ static int ext4_show_options(struct seq_file *seq, struct vfsmount *vfs)
 	seq_puts(seq, test_opt(sb, BARRIER) ? "1" : "0");
 	if (test_opt(sb, JOURNAL_ASYNC_COMMIT))
 		seq_puts(seq, ",journal_async_commit");
+	else if (test_opt(sb, JOURNAL_CHECKSUM))
+		seq_puts(seq, ",journal_checksum");
 	if (test_opt(sb, NOBH))
 		seq_puts(seq, ",nobh");
 	if (test_opt(sb, I_VERSION))
Signature · 6 lines
1.6.0.2

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
Jan Kara <[email protected]>
SuSE CR Labs
#2 lore raw
Quoted 4 lines · Jan Kara
Quoted 3 lines

We failed to show journal_checksum option in /proc/mounts. Fix it.

Ted, could you please pick this patch? Thanks.

Added to the ext4 patch queue. Apologies for the delay.

- Ted