[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTikbgiS+3U9HXRoLOxWih=pGJ2rHgQ@mail.gmail.com>
Date: Wed, 25 May 2011 18:49:57 +0800
From: Yongqiang Yang <xiaoqiangnk@...il.com>
To: y@...nrchpc.ac.cn
Cc: linux-ext4@...r.kernel.org, Ding Dinghua <dingdinghua@...hpc.ac.cn>
Subject: Re: [PATCH 1/2] Jbd2: fix a bug of leaking jh->b_jcount
Signed-off-by: line was missed.
On Wed, May 25, 2011 at 6:19 PM, <y@...nrchpc.ac.cn> wrote:
> From: Ding Dinghua <dingdinghua@...hpc.ac.cn>
>
> drop jh->b_jcount in error path
> ---
> fs/jbd2/transaction.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c
> index 05fa77a..d66672a 100644
> --- a/fs/jbd2/transaction.c
> +++ b/fs/jbd2/transaction.c
> @@ -921,8 +921,8 @@ int jbd2_journal_get_create_access(handle_t *handle, struct buffer_head *bh)
> */
> JBUFFER_TRACE(jh, "cancelling revoke");
> jbd2_journal_cancel_revoke(handle, jh);
> - jbd2_journal_put_journal_head(jh);
> out:
> + jbd2_journal_put_journal_head(jh);
> return err;
> }
>
> --
> 1.7.4.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Best Wishes
Yongqiang Yang
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists