nvme: cleanup __nvme_check_ids
authorChristoph Hellwig <hch@lst.de>
Thu, 24 Feb 2022 09:57:15 +0000 (10:57 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 28 Feb 2022 11:45:06 +0000 (13:45 +0200)
commitfd8099e7918cd2df39ef306dd1d1af7178a15b81
treec2f5fd574a46f8f8b588aafca860705c353f7dfa
parent0a9f850061d9126b9a4aaf56ae1810138cac0f51
nvme: cleanup __nvme_check_ids

Pass the actual nvme_ns_ids used for the comparison instead of the
ns_head that isn't needed and use a more descriptive function name.

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