Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3707093imm; Mon, 18 Jun 2018 02:41:43 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKpTjQuCzbp9Qe8+HxOpEpCrwsDr4Q8QjrSMgdyXv0T9TP1e6UyL3hb0KX0RCrFsnjiv0kt X-Received: by 2002:a17:902:a989:: with SMTP id bh9-v6mr13505996plb.245.1529314903770; Mon, 18 Jun 2018 02:41:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529314903; cv=none; d=google.com; s=arc-20160816; b=AhBnpbRUN8AtUTEqZ9NnSVulfS4wZHqqalQ9bT1qU7s/3o11yNUoVTLDIcK9jAPteo gmQXU1Fw0N5iUDLMRVJGNKpmIBzkSzrewKg2ahAtdSkD6yyKwyx+T9MLV4NYZlhjIurB vcHu5WUG2cgGjDpmVFaifn3A+QG0fognPHp5vBrz3uhm7Ca/SxTwWm86w2Pf2XJ2wSbz nDW8t9ctehZ6/n0eSnxQ3t4SJjD40dwMmu3b01JZY2uIQLkrZYG1r2Enxvg1phGCAkOG Gv49LbJhD7PIM/NEtAo6fIFuhyAZ+tE+yxyGWv8vZ/6O5CMYvV+jHNnghRwfEoQknALU LQww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=YcTjKhawSbh8LFfSglGLafyl7nRvMcRuxIQosHVxhII=; b=M00n1U6Ag9GzfELRptnnygiUC/54wT/KnHZJXsNMg8KcI2wa0qnHW29ksYiK5YRrva 7RX8WhrKO1Xe8+uLSDkqf6bpPAhZ8oGDAxrmh/FMatclOeiJzklcRUB1N7kvzZksJ/fd of75Zf1jeUNbk+wLyjvx+RCTNqeif7vKhDJlfxDMfnmVctgKSk2MB5VSvfD9Rl6JEQhO VQwZlZyODoglld5zjybJ4bA9eTiiSGiiJezVo8enbhq7LcXHjUTgCnUb6FjUdwBXG9tL O0rHm78pgfw4gmX6JKLshTJHWVofAiPWMnIVrB0nEcSqW0tCH90UvLyUk2nsoAvyw5f0 yaPw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v127-v6si11760083pgv.212.2018.06.18.02.41.30; Mon, 18 Jun 2018 02:41:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965653AbeFRIXC (ORCPT + 99 others); Mon, 18 Jun 2018 04:23:02 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:55690 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965596AbeFRIXA (ORCPT ); Mon, 18 Jun 2018 04:23:00 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id BC641BAD; Mon, 18 Jun 2018 08:22:59 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Keith Busch , Christoph Hellwig , Jens Axboe , Sasha Levin Subject: [PATCH 4.16 167/279] nvme/multipath: Disable runtime writable enabling parameter Date: Mon, 18 Jun 2018 10:12:32 +0200 Message-Id: <20180618080615.733278001@linuxfoundation.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180618080608.851973560@linuxfoundation.org> References: <20180618080608.851973560@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Keith Busch [ 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 --- drivers/nvme/host/multipath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 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");