From: Tejun Heo <tj@kernel.org>
To: Wu Bo <wubo40@huawei.com>
Cc: axboe@kernel.dk, cgroups@vger.kernel.org,
linux-block@vger.kernel.org, Markus.Elfring@web.de,
linux-kernel@vger.kernel.org, liuzhiqiang26@huawei.com,
linfeilong@huawei.com
Subject: Re: [PATCH] blkcg:Fix memory leaks in blkg_conf_prep()
Date: Tue, 26 May 2020 13:23:40 -0400 [thread overview]
Message-ID: <20200526172340.GD83516@mtj.thefacebook.com> (raw)
In-Reply-To: <1589805366-328489-1-git-send-email-wubo40@huawei.com>
On Mon, May 18, 2020 at 08:36:06PM +0800, Wu Bo wrote:
> From: Wu Bo <wubo40@huawei.com>
>
> If a call of the function blkg_lookup_check() failed,
> we should be release the previously allocated block group
> before jumping to the lable 'fail_unlock' in the implementation of
> the function blkg_conf_prep().
>
> Suggested-by: Markus Elfring <Markus.Elfring@web.de>
> Signed-off-by: Wu Bo <wubo40@huawei.com>
Acked-by: Tejun Heo <tj@kernel.org>
Thanks.
--
tejun
prev parent reply other threads:[~2020-05-26 17:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-18 12:36 [PATCH] blkcg:Fix memory leaks in blkg_conf_prep() Wu Bo
2020-05-18 14:06 ` [PATCH v2] blkcg: Fix memory leak " Markus Elfring
2020-05-26 17:23 ` Tejun Heo [this message]
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=20200526172340.GD83516@mtj.thefacebook.com \
--to=tj@kernel.org \
--cc=Markus.Elfring@web.de \
--cc=axboe@kernel.dk \
--cc=cgroups@vger.kernel.org \
--cc=linfeilong@huawei.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=liuzhiqiang26@huawei.com \
--cc=wubo40@huawei.com \
/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