summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorGuixin Liu <kanie@linux.alibaba.com>2026-10-28 14:44:36 +0800
committerKeith Busch <kbusch@kernel.org>2026-10-28 08:25:37 -0700
commit18fc5f6f1ca945630dae5404265de55d65194e22 (patch)
tree17e2ca1c793b480f0f70fa50363145310441a96f /tools/lib/python
parente35557e41ab1c254061eb5c5f57a2aaee1fe69c4 (diff)
nvmet: Finish the blk plug when integrity allocation fails
nvmet_bdev_execute_rw() starts a plug before building the bios, but the two error exits taken when nvmet_bdev_alloc_bip() fails return without calling blk_finish_plug(). current->plug is left pointing at the stack frame of the returned function, so the next blk_flush_plug() walks a stale list. Route both failures through a common exit that finishes the plug. Fixes: c6e3f13398123 ("nvmet: add metadata support for block devices") Cc: stable@vger.kernel.org Reviewed-by: Hannes Reinecke <hare@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Nilay Shroff <nilay@linux.ibm.com> Signed-off-by: Guixin Liu <kanie@linux.alibaba.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions