nvme: revalidate after verifying identifiers
authorKeith Busch <kbusch@kernel.org>
Thu, 9 Apr 2020 16:09:05 +0000 (09:09 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 9 May 2020 22:18:35 +0000 (16:18 -0600)
commitb2b2de7c5a0127882848f9c5e9379e84d2e02041
tree6c2dce22cef3a900ad4431f434508708994a606e
parentb2ce4d90690bd29ce5b554e203cd03682dd59697
nvme: revalidate after verifying identifiers

If the namespace identifiers have changed, skip updating the disk
information, as that will register parameters from a mismatched
namespace.

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