]> www.infradead.org Git - users/hch/block.git/commit
nvme: replace the GENHD_FL_UP check in nvme_mpath_shutdown_disk
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Jul 2021 19:50:47 +0000 (21:50 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 6 Aug 2021 06:00:10 +0000 (08:00 +0200)
commit221e78a406300c747dcfa51f173f6a20918241b1
treefb9ce102232f6687807190ef1520f4ecd91a13fd
parent9e455d946a76f78c75ba9d40f92a873dac7861d7
nvme: replace the GENHD_FL_UP check in nvme_mpath_shutdown_disk

Use the nvme-internal NVME_NSHEAD_DISK_LIVE flag instead of abusing
the block layer state.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/multipath.c