From: Keith Busch Date: Thu, 26 Apr 2018 20:24:29 +0000 (-0600) Subject: nvme/multipath: Disable runtime writable enabling parameter X-Git-Tag: v4.16.17~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44ac74871de3ad04f73149f463a4be484cdee84a;p=thirdparty%2Fkernel%2Fstable.git nvme/multipath: Disable runtime writable enabling parameter [ Upstream commit 5cadde8019a6a80550fdde92d5a3327565974eab ] We can't allow the user to change multipath settings at runtime, as this will create naming conflicts due to the different naming schemes used for each mode. Signed-off-by: Keith Busch Reviewed-by: Christoph Hellwig Signed-off-by: Jens Axboe Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/nvme/host/multipath.c b/drivers/nvme/host/multipath.c index 060f69e034276..1b81809396a4a 100644 --- a/drivers/nvme/host/multipath.c +++ b/drivers/nvme/host/multipath.c @@ -15,7 +15,7 @@ #include "nvme.h" static bool multipath = true; -module_param(multipath, bool, 0644); +module_param(multipath, bool, 0444); MODULE_PARM_DESC(multipath, "turn on native support for multiple controllers per subsystem");