Re: [PATCH v2] block: fix memory leak for elevator on add_disk failure
From: Jens Axboe
Date: Sat Oct 22 2022 - 17:15:16 EST
On Sat, 22 Oct 2022 10:16:15 +0800, Yu Kuai wrote:
> From: Yu Kuai <yukuai3@xxxxxxxxxx>
>
> 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