summaryrefslogtreecommitdiffstats
path: root/drivers/nvme
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2018-04-26 22:24:29 +0200
committerJens Axboe <axboe@kernel.dk>2018-05-03 17:37:50 +0200
commit5cadde8019a6a80550fdde92d5a3327565974eab (patch)
treeb27e7b6565772852119ab69fa9a6561c2cd501bc /drivers/nvme
parentnvme: Set integrity flag for user passthrough commands (diff)
downloadlinux-5cadde8019a6a80550fdde92d5a3327565974eab.tar.xz
linux-5cadde8019a6a80550fdde92d5a3327565974eab.zip
nvme/multipath: Disable runtime writable enabling parameter
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 <keith.busch@intel.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme')
-rw-r--r--drivers/nvme/host/multipath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/multipath.c b/drivers/nvme/host/multipath.c
index 956e0b8e9c4d..3ded009e7631 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");