Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6711195yba; Tue, 14 May 2019 12:12:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzFrKl0gg9v0Mfi4onkzac+ZQWGTLM7nxNlvdoiajsWmvNWJcoWHH4omyiFeNc2OnZq+JDb X-Received: by 2002:a17:902:382:: with SMTP id d2mr39926159pld.253.1557861173056; Tue, 14 May 2019 12:12:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557861173; cv=none; d=google.com; s=arc-20160816; b=x5IMBts1xsz+qQKlDmOGVqTxNDV8d/34Wipv5kyE1jZyshd2rslQotZzcC4ZrkasM6 EocrLXvL+LS8D29xMy88ZRADg2SYf9Ar757nHuD6yH3Ng3lS/rQyhQvBqC498HKIwWMv IjvMPfVhOzO/mS3zxKjHKBPrcAO0hMTF7WZ6zGmzcsxoUNfsnIo7OPtYaapk0Ysa19Tg OslWDDIA3eaByYWT6fTjv7KmGlY4XaZEQ2BmU57oz08fLTZxOD34LL9mnpWA0Zw/Mtjc 24CNhzwQ0OnmEpFNYNTXuu/PW+vB76EOY4pFohwt+4JdwG0dTWsG84BF3zoi35cqzN3V 1XIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=b7er9k4eIshoUpwDv7CqSxxKS24qk272awNSdYzInAk=; b=xxJXKKjSAssg7/qvW1QzSoiPq2VL6X3eCdhFJWM5qwD/bkM4MJwneeNeB54MmsdNsg 9rCZM3Er9l5WXSffb4dpzx78Xp1QcKsIDp5DO3G2BaoT1qhnnRgyYpMtzU+ctXFrsh8f Gr/KZAYo2GHZgBCvchVa+oCuL72JlePBMbCt7pGWvj9a7O3uRFhELU7o1OGNnmzNdHTd IF5tgZEs4L+iCvmHzn7JmtqYIzGRZsznKxD0yEs8AiIcsc7XUxetCNH/INklEnyHRbnJ PRI9vZrtwaHkh2elrCUBaXL2+S5OuBSS5iIDF1Yg/z7LxLwJU2G/DD7l9v/E7/Ea9GNj 56Zw== 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 5si21576226pgz.231.2019.05.14.12.12.38; Tue, 14 May 2019 12:12:53 -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 S1726148AbfENTLG (ORCPT + 99 others); Tue, 14 May 2019 15:11:06 -0400 Received: from lilium.sigma-star.at ([109.75.188.150]:38878 "EHLO lilium.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726009AbfENTLG (ORCPT ); Tue, 14 May 2019 15:11:06 -0400 Received: from localhost (localhost [127.0.0.1]) by lilium.sigma-star.at (Postfix) with ESMTP id 5F0911809AD8F; Tue, 14 May 2019 21:11:04 +0200 (CEST) From: Richard Weinberger To: linux-mtd@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Richard Weinberger Subject: [PATCH 1/2] ubifs: Use correct config name for encryption Date: Tue, 14 May 2019 21:10:49 +0200 Message-Id: <20190514191050.13181-1-richard@nod.at> X-Mailer: git-send-email 2.16.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CONFIG_UBIFS_FS_ENCRYPTION is gone, fscrypt is now controlled via CONFIG_FS_ENCRYPTION. This problem slipped into the tree because of a mis-merge on my side. Reported-by: Eric Biggers Fixes: eea2c05d927b ("ubifs: Remove #ifdef around CONFIG_FS_ENCRYPTION") Signed-off-by: Richard Weinberger --- fs/ubifs/sb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ubifs/sb.c b/fs/ubifs/sb.c index 2afc8b1d4c3b..3ca41965db6e 100644 --- a/fs/ubifs/sb.c +++ b/fs/ubifs/sb.c @@ -748,7 +748,7 @@ int ubifs_read_superblock(struct ubifs_info *c) goto out; } - if (!IS_ENABLED(CONFIG_UBIFS_FS_ENCRYPTION) && c->encrypted) { + if (!IS_ENABLED(CONFIG_FS_ENCRYPTION) && c->encrypted) { ubifs_err(c, "file system contains encrypted files but UBIFS" " was built without crypto support."); err = -EINVAL; @@ -941,7 +941,7 @@ int ubifs_enable_encryption(struct ubifs_info *c) int err; struct ubifs_sb_node *sup = c->sup_node; - if (!IS_ENABLED(CONFIG_UBIFS_FS_ENCRYPTION)) + if (!IS_ENABLED(CONFIG_FS_ENCRYPTION)) return -EOPNOTSUPP; if (c->encrypted) -- 2.16.4