Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp953430yba; Wed, 15 May 2019 12:56:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxY0PhOmn9qsot1dz6PHOxM+mITalm2C05rFXTgxe2fmu/4qbedt6mSNM58zagvR+rhrna X-Received: by 2002:a63:2a89:: with SMTP id q131mr44727619pgq.359.1557950188295; Wed, 15 May 2019 12:56:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557950188; cv=none; d=google.com; s=arc-20160816; b=zF/NuG3oTXXouXMqpNuSVF682sh9qnH2YrhoInkFPBjoQiPSC/QcJ/63PwCcrcFa0f tt8K91Ks/OgSdIs70HRXfo7ey9eu7g3nwF8XKl7XEsrv4TN6300S8jjyq43qHkwVx5Nf 3PW96h69eWiVwQJYUwwseyWMY6eQmzS2uqiokkXFo0lae7oWbz+P7a2j6E0XfyQF7Gxz HfW6iPEmYNw7tztv9PgYmr9Y3YFl/ndgs0GNcMbwF6lLLu/XiQmNwygJU9/lk7HaCVMR uicTOGIgjQXPf+MiTwGjw4eDXIRPr9Eb+VDArj7EveIEuQGfZe2HkAlufYkIie0MBI0g eJsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=faSObUUDhzWCbTecxagBTtZE6cIWm5DcuCOMti7xnXk=; b=ccoX4w2uXNWRWUwSWJRuiC7jPxEzJgijKI/uYXgCCr0BT45YaK2yeyzm9BY2ECi6zv TFuvf7PCyBSkDabXmJNBx7eYS8xZioPsnuwHkWzgmoQBMV1qnJ7uFvl/66AGjw2MmVy/ SxWEcUho76fpT9bSL5duVleD5PACqNL6DgyomJyEyoBcvXfRxWeM2DJy7yIkF0tugS3I 6AxRbWZAn2jnn9S4cYxSjkUUiIAzLON46TGR0qjvndO7vvBHFxndZooonaZrLArf00MB BmnDEsHDjrHe6X8fkvi1CQP5iMM/OwHtglWP37dHHMd8sz2Tq+DcQmgHahfHvi5LGzER jIdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VWWOqMdp; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j20si2591600pgl.332.2019.05.15.12.56.12; Wed, 15 May 2019 12:56:28 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VWWOqMdp; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726891AbfEOTzE (ORCPT + 99 others); Wed, 15 May 2019 15:55:04 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:39837 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726170AbfEOTzE (ORCPT ); Wed, 15 May 2019 15:55:04 -0400 Received: by mail-wr1-f68.google.com with SMTP id w8so808587wrl.6 for ; Wed, 15 May 2019 12:55:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=faSObUUDhzWCbTecxagBTtZE6cIWm5DcuCOMti7xnXk=; b=VWWOqMdpNmF+ZoF8YVE9C0qKG2dKyZbC3SSkb6TrM8bqqTDvvgo2EZajTjyG54Oinq ThywjMpAfFVB+8wdu9gR9QktsHSL8UoRq/5Tt7ZzE4J3CXIX+kP5rM8Ayd5Sed4s8oue ZNxO4KIx+D3/YQtcZtN8oPJBj13yl4Fnvm1MHoJA50+tyZxGEuv3qGkNB054dyOR1Qhp FQIxuzehK+epcXEQOwnW4aJxrdZQUZbNzDiaxLvQ8krx3WHeXI6HJ1cE0cRircw2llF/ Y7e1FnK7ticBSgU71MxduKPIQpKrP9eLKnaHwDDeTOLbk/626p1quCnQ+dI2uXyrKMYT nHXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=faSObUUDhzWCbTecxagBTtZE6cIWm5DcuCOMti7xnXk=; b=ZmLWaUsKcwHqpyn/3DQ5jsJLZvTgli8VEIUT6bABmUIFbStfO6MCJfBFwxwYjr0rZX 5I5U4y9hjAdMj9mon56JXeKO2XW+MeR12Kzo8UMIkGET6/w4x+xUHtsCtMfcrCNNoEO2 xeYbnS1dad/R6l2d4GAifbSiYgY6bz6ylLuQbX6iU9ElfbfZF+ZmkcSBWjDYjgKOsdIG skUABZJVbFXyA93gqiS3lWCJZ3IJcItcIpoUd9xgcNDnf1WQhvBU5UZIbUiHBjIRTpG0 GSLEiNr1spfGc8TktbqVz6XzxgAMZKWnpalvQ7lPjZaxPCvxElZ/rjZmPfVrVql1b2iw NJFw== X-Gm-Message-State: APjAAAXgGQckw4wHkGR+bKiK6v9w+FFm4jpuxNN0amjkaokVCKG6YXsY r7kWKJA3wjzXFMWTTtuua01qsM5u1l3v4X7CIH8= X-Received: by 2002:adf:cf05:: with SMTP id o5mr11796362wrj.262.1557950103165; Wed, 15 May 2019 12:55:03 -0700 (PDT) MIME-Version: 1.0 References: <20190514191050.13181-1-richard@nod.at> In-Reply-To: <20190514191050.13181-1-richard@nod.at> From: Richard Weinberger Date: Wed, 15 May 2019 21:54:51 +0200 Message-ID: Subject: Re: [PATCH 1/2] ubifs: Use correct config name for encryption To: Richard Weinberger Cc: linux-mtd@lists.infradead.org, LKML 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 On Tue, May 14, 2019 at 9:11 PM Richard Weinberger wrote: > > 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 Applied both. -- Thanks, //richard