linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND] ext4: Show journal_checksum option
@ 2010-05-03 10:15 Jan Kara
  2010-05-07 16:09 ` Jan Kara
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Kara @ 2010-05-03 10:15 UTC (permalink / raw)
  To: tytso; +Cc: linux-ext4, sheridan, Jan Kara

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

Signed-off-by: Jan Kara <jack@suse.cz>
---
 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 8f4f079..04fdaf1 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -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))
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH RESEND] ext4: Show journal_checksum option
  2010-05-03 10:15 [PATCH RESEND] ext4: Show journal_checksum option Jan Kara
@ 2010-05-07 16:09 ` Jan Kara
  2010-05-21  3:20   ` tytso
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Kara @ 2010-05-07 16:09 UTC (permalink / raw)
  To: tytso; +Cc: linux-ext4, sheridan, Jan Kara

> We failed to show journal_checksum option in /proc/mounts. Fix it.
> 
> Signed-off-by: Jan Kara <jack@suse.cz>
  Ted, could you please pick this patch? Thanks.

								Honza

> ---
>  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 8f4f079..04fdaf1 100644
> --- a/fs/ext4/super.c
> +++ b/fs/ext4/super.c
> @@ -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))
> -- 
> 1.6.0.2
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Jan Kara <jack@suse.cz>
SuSE CR Labs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH RESEND] ext4: Show journal_checksum option
  2010-05-07 16:09 ` Jan Kara
@ 2010-05-21  3:20   ` tytso
  0 siblings, 0 replies; 3+ messages in thread
From: tytso @ 2010-05-21  3:20 UTC (permalink / raw)
  To: Jan Kara; +Cc: linux-ext4, sheridan

On Fri, May 07, 2010 at 06:09:55PM +0200, Jan Kara wrote:
> > We failed to show journal_checksum option in /proc/mounts. Fix it.
> > 
> > Signed-off-by: Jan Kara <jack@suse.cz>
>   Ted, could you please pick this patch? Thanks.

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

      	     	  			      - Ted

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-21  3:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-03 10:15 [PATCH RESEND] ext4: Show journal_checksum option Jan Kara
2010-05-07 16:09 ` Jan Kara
2010-05-21  3:20   ` tytso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).