]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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 11:57:35 +0000 (13:57 +0200)
commit9d78f9187920980ad19be8d86b4a94811523dc8d
tree1a86268999281658e4ee16e0d1fb95f28acf9b8a
parent93cbe13a25a03c90408929351ea3b2993979f3d5
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