diff options
author | Christoph Hellwig <hch@lst.de> | 2021-08-09 08:40:24 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-12 18:29:36 +0200 |
commit | 916a470da02f909cabb65337f65438b8bc3965b2 (patch) | |
tree | 1ebd3f2444ae833c2d29172402f04db4ae1114b4 /drivers/block | |
parent | nvme: remove the GENHD_FL_UP check in nvme_ns_remove (diff) | |
download | linux-916a470da02f909cabb65337f65438b8bc3965b2.tar.xz linux-916a470da02f909cabb65337f65438b8bc3965b2.zip |
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>
Link: https://lore.kernel.org/r/20210809064028.1198327-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions