From: Jens Axboe <axboe@kernel.dk>
To: ming.lei@redhat.com, hch@lst.de, Yu Kuai <yukuai1@huaweicloud.com>
Cc: linux-block@vger.kernel.org, yi.zhang@huawei.com,
linux-kernel@vger.kernel.org, yukuai3@huawei.com
Subject: Re: [PATCH v2] block: fix memory leak for elevator on add_disk failure
Date: Sat, 22 Oct 2022 15:14:46 -0600 [thread overview]
Message-ID: <166647328666.27452.18046414061378704307.b4-ty@kernel.dk> (raw)
In-Reply-To: <20221022021615.2756171-1-yukuai1@huaweicloud.com>
On Sat, 22 Oct 2022 10:16:15 +0800, Yu Kuai wrote:
> From: Yu Kuai <yukuai3@huawei.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
prev parent reply other threads:[~2022-10-22 21:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-22 2:16 Yu Kuai
2022-10-22 8:51 ` Jason Yan
2022-10-22 21:14 ` Jens Axboe [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=166647328666.27452.18046414061378704307.b4-ty@kernel.dk \
--to=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ming.lei@redhat.com \
--cc=yi.zhang@huawei.com \
--cc=yukuai1@huaweicloud.com \
--cc=yukuai3@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
all inboxes | Powered by JetHome®