]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: always unregister the integrity profile in __nvme_revalidate_disk
authorChristoph Hellwig <hch@lst.de>
Thu, 2 Nov 2017 18:28:52 +0000 (21:28 +0300)
committerJens Axboe <axboe@kernel.dk>
Sat, 11 Nov 2017 02:53:25 +0000 (19:53 -0700)
commit157b9919557b01dfd3c2c1df398390b149387f09
tree9ef223a3ac6fb378684640d34d3af62ac0bac67e
parentc19732ce37520775b306cf67532516dd5b67a2e7
nvme: always unregister the integrity profile in __nvme_revalidate_disk

This is safe because the queue is always frozen when we revalidate, and
it simplifies both the existing code as well as the multipath
implementation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c