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:23:07 +0000 (14:23 +0200)
commit2340a15d39144f63cff0c96393d7ccc642efd41f
treec672dad4dfee01cd9fce97feb424aac551bcadba
parenta015dd1b8a5465dfedf6425c93ab7b4137cd6636
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