From: Yongqiang Yang <xiaoqiangnk@gmail.com>
To: y@mx.nrchpc.ac.cn
Cc: linux-ext4@vger.kernel.org, Ding Dinghua <dingdinghua@nrchpc.ac.cn>
Subject: Re: [PATCH 1/2] Jbd2: fix a bug of leaking jh->b_jcount
Date: Wed, 25 May 2011 18:49:57 +0800 [thread overview]
Message-ID: <BANLkTikbgiS+3U9HXRoLOxWih=pGJ2rHgQ@mail.gmail.com> (raw)
In-Reply-To: <-1724257416234743088@unknownmsgid>
Signed-off-by: line was missed.
On Wed, May 25, 2011 at 6:19 PM, <y@mx.nrchpc.ac.cn> wrote:
> From: Ding Dinghua <dingdinghua@nrchpc.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@vger.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next parent reply other threads:[~2011-05-25 10:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <-1724257416234743088@unknownmsgid>
2011-05-25 10:49 ` Yongqiang Yang [this message]
2011-05-25 12:02 ` [PATCH 1/2] Jbd2: fix a bug of leaking jh->b_jcount Theodore Tso
2011-05-25 22:14 ` Ted Ts'o
2011-05-26 11:25 ` Ding Dinghua
2011-05-26 2:28 [PATCH 1/2] jbd2: " Ding Dinghua
2011-05-26 15:16 ` Ted Ts'o
-- strict thread matches above, loose matches on Subject: below --
2011-05-26 2:02 dingdinghua
2011-05-26 2:10 ` 丁定华
2011-05-25 10:19 [PATCH 1/2] Jbd2: " y
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BANLkTikbgiS+3U9HXRoLOxWih=pGJ2rHgQ@mail.gmail.com' \
--to=xiaoqiangnk@gmail.com \
--cc=dingdinghua@nrchpc.ac.cn \
--cc=linux-ext4@vger.kernel.org \
--cc=y@mx.nrchpc.ac.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).