nvme: don't blindly overwrite identifiers on disk revalidate
authorChristoph Hellwig <hch@lst.de>
Thu, 17 Aug 2017 12:10:00 +0000 (14:10 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 29 Aug 2017 08:23:04 +0000 (10:23 +0200)
commit1d5df6af8c7469f9ae3e66e7bed0782cfe4f95db
tree51a42a4473f95212102380d2eced64e970a1576c
parentcdbff4f26bd9fab11bfac22097f836892a5c3612
nvme: don't blindly overwrite identifiers on disk revalidate

Instead validate that these identifiers do not change, as that is
prohibited by the specification.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
drivers/nvme/host/core.c