Loading
nvme: fix bio leak on mapping failure
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: d0d1d522 ("blk-map: provide the bdev to bio if one exists") Reviewed-by:Sagi Grimberg <sagi@grimberg.me> Reviewed-by:
John Garry <john.g.garry@oracle.com> Reviewed-by:
Christoph Hellwig <hch@lst.de> Signed-off-by:
Keith Busch <kbusch@kernel.org>