Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1785059imm; Thu, 27 Sep 2018 02:26:14 -0700 (PDT) X-Google-Smtp-Source: ACcGV62bxW/jf8jM3OOlVGN3dAwbX+MG5PlBHBWU7/pLrdF29gQVt0ZxGu3ywCn7JnUUphAmtPNY X-Received: by 2002:a62:db46:: with SMTP id f67-v6mr10416632pfg.1.1538040374582; Thu, 27 Sep 2018 02:26:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538040374; cv=none; d=google.com; s=arc-20160816; b=kdLgkHmIaYN4cMSpKrBa5YTiK1VdnOjNwlvLbI+RAaQpD/we3ypx67Mom81sztkc8U dCMGUorK4iasWIXm02YXUs3In2Q3lRTMdLPqojpLsw3h9IqaHoXV7pVRzvr03ew93RfO EqZCJw7Bbx0+YG7KRYFULwz6F/bZ7hUzcFQetOWK9sph07ZX1G/cPvlqg1N26xY/sQj0 jDUwKHnz9f7gJ6wXBb1/NGoTh9/GEmY5KNJauhuHvD2sd2zS1cuoGfz9ihVnfpSO95Ne 7c2+imw6oiue+kkmoAJ4OZCoVYwnihz8h98m3DkaAgOH73yilFxhw9YHbzQks8cJ4nC+ r55A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=kn5dXCWVIJryjaNZhLsET5qOKG/jSFwAepTWytYSv54=; b=bXoZDsW3CeZrjWEMR465Ek+RNixpqrWOLZHs17fssXHfezosDGwIKRNYGq9hlMYLUr orgK03J9onk+4tWGNln+uFB6v1yaz5vQaF8Cu4bzup4f06HCGEu87M/91sAxf52wox3K +VCfTL7AzvbCEWGmkzKl9Ftq6MrpH/8Aq+/B1Y3SFKBAu99sSSpsxjPaPy9HvSHt4vAJ HPvNvMd9uIgFOTr3E782ChusMnyv56xT5k0K3KaoYppIoWq4WbFATTtz5wsV2OfQwXoo MESpWEyHeqzQLCewkop00JPmxBxOKZXSf+nB5tA6MSgqyaQr9s2i64A5rgGFzkXXhV1Z bVMw== 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 z17-v6si1534930pgc.653.2018.09.27.02.25.59; Thu, 27 Sep 2018 02:26:14 -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 S1728832AbeI0Plw (ORCPT + 99 others); Thu, 27 Sep 2018 11:41:52 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:56678 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727240AbeI0Plv (ORCPT ); Thu, 27 Sep 2018 11:41:51 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 05D9A111C; Thu, 27 Sep 2018 09:24:30 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Eric Biggers , Theodore Tso Subject: [PATCH 4.14 58/64] ext4: show test_dummy_encryption mount option in /proc/mounts Date: Thu, 27 Sep 2018 11:04:15 +0200 Message-Id: <20180927090257.874432885@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180927090249.801943776@linuxfoundation.org> References: <20180927090249.801943776@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Eric Biggers commit 338affb548c243d2af25b1ca628e67819350de6b upstream. When in effect, add "test_dummy_encryption" to _ext4_show_options() so that it is shown in /proc/mounts and other relevant procfs files. Signed-off-by: Eric Biggers Signed-off-by: Theodore Ts'o Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- fs/ext4/super.c | 2 ++ 1 file changed, 2 insertions(+) --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -2085,6 +2085,8 @@ static int _ext4_show_options(struct seq SEQ_OPTS_PRINT("max_dir_size_kb=%u", sbi->s_max_dir_size_kb); if (test_opt(sb, DATA_ERR_ABORT)) SEQ_OPTS_PUTS("data_err=abort"); + if (DUMMY_ENCRYPTION_ENABLED(sbi)) + SEQ_OPTS_PUTS("test_dummy_encryption"); ext4_show_quota_options(seq, sb); return 0;