]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit129c80a5572a9f32894795b72a552a5289085f34
tree51a42a4473f95212102380d2eced64e970a1576c
parentb9a3dfd7ca027b406b9fb274c4024e8efb0bee0b
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