]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
nvme-multipath: don't call blk_mark_disk_dead in nvme_mpath_remove_disk
authorChristoph Hellwig <hch@lst.de>
Wed, 17 May 2023 07:53:45 +0000 (09:53 +0200)
committerKeith Busch <kbusch@kernel.org>
Wed, 17 May 2023 14:32:42 +0000 (07:32 -0700)
commit1743e5f6000901a11f4e1cd741bfa9136f3ec9b1
tree731c8c21493bd69b5b6d781761f6f17d45fd727d
parent3710e2b056cb92ad816e4d79fa54a6a5b6ad8cbd
nvme-multipath: don't call blk_mark_disk_dead in nvme_mpath_remove_disk

nvme_mpath_remove_disk is called after del_gendisk, at which point a
blk_mark_disk_dead call doesn't make any sense.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/multipath.c