nvme-multipath: don't call blk_mark_disk_dead in nvme_mpath_remove_disk
Christoph Hellwig
maintainerPATCH 1/1 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 <[email protected]>
--- drivers/nvme/host/multipath.c | 1 - 1 file changed, 1 deletion(-)
drivers/nvme/host/multipath.c +0 -1
@@ -884,7 +884,6 @@ void nvme_mpath_remove_disk(struct nvme_ns_head *head) {if (!head->disk)return ; -blk_mark_disk_dead (head->disk);/* make sure all pending bios are cleaned up */ kblockd_schedule_work (&head->requeue_work);flush_work (&head->requeue_work);
Signature · 1 line
2.39.2
Reviewed-by Sagi Grimberg <[email protected]>
Thanks, applied to nvme-6.4.
Thanks, applied to nvme-6.4.