Commit 47f8cc9e authored by John Meneghini's avatar John Meneghini Committed by Keith Busch
Browse files

nvme: update the multipath warning in nvme_init_ns_head



The new NVME_MULTIPATH_PARAM config option requires updates
to the warning message in nvme_init_ns_head().

Signed-off-by: default avatarJohn Meneghini <jmeneghi@redhat.com>
Tested-by: default avatarJohn Meneghini <jmeneghi@redhat.com>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent 38808af5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3822,7 +3822,7 @@ static int nvme_init_ns_head(struct nvme_ns *ns, struct nvme_ns_info *info)
				"Found shared namespace %d, but multipathing not supported.\n",
				info->nsid);
			dev_warn_once(ctrl->device,
				"Support for shared namespaces without CONFIG_NVME_MULTIPATH is deprecated and will be removed in Linux 6.0.\n");
				"Shared namespace support requires core_nvme.multipath=Y.\n");
		}
	}