nvme: don't return an error from nvme_configure_metadata
authorChristoph Hellwig <hch@lst.de>
Wed, 16 Feb 2022 14:07:15 +0000 (15:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:24:00 +0000 (14:24 +0200)
commita3f6aeba670e79907b80e186e90ed00ea02f57e6
tree0be6cc96bcdcef644f73df825fefed202cc3dca8
parent92a6233585dce8be03becc587582e5abdc10071c
nvme: don't return an error from nvme_configure_metadata

[ Upstream commit 363f6368603743072e5f318c668c632bccb097a3 ]

When a fabrics controller claims to support an invalidate metadata
configuration we already warn and disable metadata support.  No need to
also return an error during revalidation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Daniel Wagner <dwagner@suse.de>
Tested-by: Kanchan Joshi <joshi.k@samsung.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/nvme/host/core.c