OSDN Git Service

nvme: check that EUI/GUID/UUID are globally unique
authorChristoph Hellwig <hch@lst.de>
Thu, 24 Feb 2022 16:48:32 +0000 (17:48 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 28 Feb 2022 11:45:07 +0000 (13:45 +0200)
commit2079f41ec6ffaad9aa51ca550105b2228467aec7
tree575cb056c864db9c4647c8f0d076d71ebfbfa3d4
parente2d77d2e11c4f1e70a1a24cc8fe63ff3dc9b53ef
nvme: check that EUI/GUID/UUID are globally unique

Add a check to verify that the unique identifiers are unique globally
in addition to the existing check that verifies that they are unique
inside a single subsystem.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
drivers/nvme/host/core.c