[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166647328666.27452.18046414061378704307.b4-ty@kernel.dk>
Date: Sat, 22 Oct 2022 15:14:46 -0600
From: Jens Axboe <axboe@...nel.dk>
To: ming.lei@...hat.com, hch@....de, Yu Kuai <yukuai1@...weicloud.com>
Cc: linux-block@...r.kernel.org, yi.zhang@...wei.com,
linux-kernel@...r.kernel.org, yukuai3@...wei.com
Subject: Re: [PATCH v2] block: fix memory leak for elevator on add_disk failure
On Sat, 22 Oct 2022 10:16:15 +0800, Yu Kuai wrote:
> From: Yu Kuai <yukuai3@...wei.com>
>
> The default elevator is allocated in the beginning of device_add_disk(),
> however, it's not freed in the following error path.
>
>
Applied, thanks!
[1/1] block: fix memory leak for elevator on add_disk failure
commit: 02341a08c9dec5a88527981b0bdf0fb6f7499cbf
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists