[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200526172340.GD83516@mtj.thefacebook.com>
Date: Tue, 26 May 2020 13:23:40 -0400
From: Tejun Heo <tj@...nel.org>
To: Wu Bo <wubo40@...wei.com>
Cc: axboe@...nel.dk, cgroups@...r.kernel.org,
linux-block@...r.kernel.org, Markus.Elfring@....de,
linux-kernel@...r.kernel.org, liuzhiqiang26@...wei.com,
linfeilong@...wei.com
Subject: Re: [PATCH] blkcg:Fix memory leaks in blkg_conf_prep()
On Mon, May 18, 2020 at 08:36:06PM +0800, Wu Bo wrote:
> From: Wu Bo <wubo40@...wei.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@....de>
> Signed-off-by: Wu Bo <wubo40@...wei.com>
Acked-by: Tejun Heo <tj@...nel.org>
Thanks.
--
tejun
Powered by blists - more mailing lists