From: John Garry <john.g.garry@oracle.com>
To: Keith Busch <kbusch@meta.com>, linux-nvme@lists.infradead.org
Cc: Keith Busch <kbusch@kernel.org>
Subject: Re: [PATCH] nvme: fix bio leak on mapping failure
Date: Thu, 7 May 2026 07:42:30 +0100 [thread overview]
Message-ID: <edf09e2d-fb74-4f0a-bf61-b9a99a075445@oracle.com> (raw)
In-Reply-To: <20260506131900.2367091-1-kbusch@meta.com>
On 06/05/2026 14:19, Keith Busch wrote:
> From: Keith Busch<kbusch@kernel.org>
>
> The local bio is always NULL, so we'd leak the bio if the integrity
> mapping failed. Just get it directly from the request.
>
> Fixes: d0d1d522316e91f ("blk-map: provide the bdev to bio if one exists")
> Signed-off-by: Keith Busch<kbusch@kernel.org>
> ---
FWIW:
Reviewed-by: John Garry <john.g.garry@oracle.com>
next prev parent reply other threads:[~2026-05-07 6:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-06 13:19 [PATCH] nvme: fix bio leak on mapping failure Keith Busch
2026-05-07 5:33 ` Christoph Hellwig
2026-05-07 6:42 ` John Garry [this message]
2026-05-10 22:21 ` Sagi Grimberg
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=edf09e2d-fb74-4f0a-bf61-b9a99a075445@oracle.com \
--to=john.g.garry@oracle.com \
--cc=kbusch@kernel.org \
--cc=kbusch@meta.com \
--cc=linux-nvme@lists.infradead.org \
/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