nvme: cleanup __nvme_check_ids
authorChristoph Hellwig <hch@lst.de>
Thu, 24 Feb 2022 09:57:15 +0000 (10:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:40:00 +0000 (14:40 +0200)
commit40b288a86186ff9c40f2a7970f5c0edb19a5c675
tree7d8b2a68696e6e8fa7a4150a8eb6b83358d946c5
parent32c4db2a52965f6ab14427aca27ba2483621376b
nvme: cleanup __nvme_check_ids

[ Upstream commit fd8099e7918cd2df39ef306dd1d1af7178a15b81 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/nvme/host/core.c