Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1777446imm; Thu, 27 Sep 2018 02:17:44 -0700 (PDT) X-Google-Smtp-Source: ACcGV61Qs0TgRJHXCxo1+N82bDNgp6kYGMeBP572WKn4HTk15FK96GCkep2w8OQN8hZ7+JUY4d7h X-Received: by 2002:a63:28c7:: with SMTP id o190-v6mr9283840pgo.84.1538039864268; Thu, 27 Sep 2018 02:17:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538039864; cv=none; d=google.com; s=arc-20160816; b=DB+cqurMBqaht9cbHh1mdnlEzs8bszaOkwl9pxmN5eW0xM+6dsYieFwKbGVj5BFe5U pCuk58CCfynN4r+24NKZSF7uf7TPzNV+saJ9bxf6K23vAuV8aq7d9OpXxcrlySNLWOgw yl8l9/Y7Dus3Vhh0Pcnimpq4Z/t3JK6SZPB8lOe4D6E43Un+yb0ihiXmfQTDV2wCzftR Hm/y+NNDr8x8ni4sYEdNV7t0eOxCTG2Si7jOWD/vXP3xbaLeXjMcLzVhbt9Sd9RzL/M8 t5UaPmkJOMVvkI4ic+v/Rm4KR5d4xGgzsU2kbG1phgApdrvOQ0g5XzPxewHjHrnzfOEq w1/Q== 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=6Bfsj0XC6gnJLOidin8GxZJ6SusJM9bqWjqc7NC0Muw=; b=S942HZoObuh91+yRlqq2Xj1nUlzs+TZLOwjvrlgYqxXQC5VV2Mypvv/h1HoqPgvqmG qJwtKMJQpGlDfe4TzMeMPDshD0ZbO6rIVXcfJVtxO1vaHjK9WehtlLefdmDOnTpK9tZX YTLZ6aHkJlGmGRUreL+ebXvqFr9pzkWpGbfyqSXEjADEeWQXr72NT99hK3CDdcFa/mCk +cRQ6CWIy+mSw1AHyNmosnJNwuVVsHc5/aODL4v1HetOHGXVzH2D69Tc9mdfECqIIJj2 phIKzGAD7dTj6INzV/k04kvOkzHyPa+9LjIiEzdS5qkPS1ONnge52OQWIs7aold36GFs wwdA== 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 c15-v6si1499311plo.357.2018.09.27.02.17.29; Thu, 27 Sep 2018 02:17:44 -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 S1727872AbeI0Pci (ORCPT + 99 others); Thu, 27 Sep 2018 11:32:38 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:55578 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727338AbeI0Pch (ORCPT ); Thu, 27 Sep 2018 11:32:37 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id C793F1117; Thu, 27 Sep 2018 09:15:20 +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.18 83/88] ext4: show test_dummy_encryption mount option in /proc/mounts Date: Thu, 27 Sep 2018 11:04:04 +0200 Message-Id: <20180927090310.643686008@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180927090300.631426620@linuxfoundation.org> References: <20180927090300.631426620@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.18-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 @@ -2126,6 +2126,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;