nvme-fabrics: check hostid using uuid_equal
authorMax Gurtovoy <mgurtovoy@nvidia.com>
Fri, 12 May 2023 15:41:54 +0000 (18:41 +0300)
committerKeith Busch <kbusch@kernel.org>
Mon, 12 Jun 2023 17:36:58 +0000 (10:36 -0700)
commit5e4b55fa522ec0839f33a73fe5facf609ee66b58
tree6b351ea79b44085a3e9697189201b15aa57b33c1
parentb86d6595f73462c4086cadba63aacff4155e74ed
nvme-fabrics: check hostid using uuid_equal

Use a dedicated function to match uuids instead of duplicating it.

Tested-by: Noam Gottlieb <ngottlieb@nvidia.com>
Reviewed-by: Israel Rukshin <israelr@nvidia.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/fabrics.h