Message ID | 20221115101756.5d311f25@canb.auug.org.au |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2421010wru; Mon, 14 Nov 2022 15:39:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf6du2OUaxUsJERcrdH/8oHXUF7eZdFP9Pn6jojQeyNqsrPz1++j1TZv/fPZJnWR8oZXUDxq X-Received: by 2002:a17:907:d30e:b0:781:8003:9b08 with SMTP id vg14-20020a170907d30e00b0078180039b08mr12578427ejc.180.1668469145254; Mon, 14 Nov 2022 15:39:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668469145; cv=none; d=google.com; s=arc-20160816; b=sZUGZUVsMU6QZCRui007Olb2xqPh5qMzDf2t4o3180bQmPayrJwGnj8thcKGRWgs1r wUcQAlKIBONZbgQVwth8V15dhmiVO3bX9O19QKh9MhoGKg2IKZLQzefTN8hOZWu96t7J ePTaMPqjZgIHFLCB0aSZKt+64jEAvmCku4oEaRl7QdxprFl9wGf9+R1e/w+RIFcfFh0/ vWbLJGEYkZYAcUFwOmZ08vvZBsTaznp4hu6M5XMD0OwxMSdmL3vbPEgge7cbxCEbg4Am pHV7oG+79aEIu27y3yzblEsH0CInwLjyDy3awv48ze6K808eKopuKtS73RjSXqMwyRTp M/0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=AkO5wUq+48NJL2GIFo2A3/BMLuj1DJya+5H8AbpVMB0=; b=gPrR2B3bhirsIJftdWHHBZCc2zhLnVrCFoT0cO14HG9DoFZ2HX7ScgHj/gv6YAo13i 37+kYiVTWJ7rTM66mLmW2NqcLHvai0y5loRfSL7RXnf/BbhHRPLMU3e5+yFV75FH67KP x29pckcZ0Skw0aYnX2ARi/EBEPQPGFN1RcNAvK4cgP2F0O6rLbbakRrwYLlguAhlPhFE B47HfB3dzhb2Qvm/nXdtylc+NAUryxP5jLa6mBOlfNgEabcpXH0qOUuUj53XJ5nobsMG LuJvgNm219sc//2BdlFcuN3CFR8KNQuJTRrY/ZNGml7gMLyREnNLGv4ksMe2MhNvGefv sSMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=CDG0Qb2g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c2-20020a056402158200b0045a5bd66302si8607910edv.571.2022.11.14.15.38.41; Mon, 14 Nov 2022 15:39:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=CDG0Qb2g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237931AbiKNXSH (ORCPT <rfc822;zwp10758@gmail.com> + 99 others); Mon, 14 Nov 2022 18:18:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230144AbiKNXSF (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 14 Nov 2022 18:18:05 -0500 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A02617044; Mon, 14 Nov 2022 15:18:04 -0800 (PST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4NB4wk30hLz4xGW; Tue, 15 Nov 2022 10:17:58 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1668467879; bh=AkO5wUq+48NJL2GIFo2A3/BMLuj1DJya+5H8AbpVMB0=; h=Date:From:To:Cc:Subject:From; b=CDG0Qb2g6tb24y6QtEq3szJa6QpIO/Zc0CmQ/zXfO/jVBUUOCCOS3ClzvkJDw/F+h 9HpXUdTyPveTZ0J0U/vSodODVzFel2K+mgcwxhE29EvpdyyYxdlAkN4E/YjYaJTZ/7 pYPvrzvAd9/MZ0fxCV+zaSLXdnv2s+1Rp2u5jGSyqJdpsYgXOR4zze08e2GRevUq52 Vjm4DbiFVDp41EfCwGDjGZnUjv156G0Nzkh8LYevKYlZs8pueI24K2Wvv2PtRvsyDp hLUBaA/TlE7Ys6LpS/ZNlkTYpcccNW1gPJf/5Jb6Ketowg8vKyQpqeAvGHG5KXYU4X at4YjmxcYJ0sA== Date: Tue, 15 Nov 2022 10:17:56 +1100 From: Stephen Rothwell <sfr@canb.auug.org.au> To: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>, Christian Brauner <christian@brauner.io>, Seth Forshee <sforshee@kernel.org> Cc: "Christian Brauner (Microsoft)" <brauner@kernel.org>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Linux Next Mailing List <linux-next@vger.kernel.org> Subject: linux-next: build failure after merge of the ntfs3 tree Message-ID: <20221115101756.5d311f25@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_///Rd_36Lzfbtrb5J/ICyBMj"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749516702383359431?= X-GMAIL-MSGID: =?utf-8?q?1749516702383359431?= |
Series |
linux-next: build failure after merge of the ntfs3 tree
|
|
Commit Message
Stephen Rothwell
Nov. 14, 2022, 11:17 p.m. UTC
Hi all, After merging the ntfs3 tree, today's linux-next build (x86_64 allmodconfig) failed like this: fs/ntfs3/namei.c: In function 'ntfs_atomic_open': fs/ntfs3/namei.c:374:39: error: implicit declaration of function 'get_acl' [-Werror=implicit-function-declaration] 374 | struct posix_acl *p = get_acl(dir, ACL_TYPE_DEFAULT); | ^~~~~~~ fs/ntfs3/namei.c:374:39: error: initialization of 'struct posix_acl *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] Caused by commit 2b108260ea2c ("fs/ntfs3: atomic_open implementation") interacting with commit cac2f8b8d8b5 ("fs: rename current get acl method") I have applied the following merge fix patch for today. From: Stephen Rothwell <sfr@canb.auug.org.au> Date: Tue, 15 Nov 2022 10:07:59 +1100 Subject: [PATCH] fix up for "fs: rename current get acl method" Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> --- fs/ntfs3/namei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Tue, Nov 15, 2022 at 10:17:56AM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the ntfs3 tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > fs/ntfs3/namei.c: In function 'ntfs_atomic_open': > fs/ntfs3/namei.c:374:39: error: implicit declaration of function 'get_acl' [-Werror=implicit-function-declaration] > 374 | struct posix_acl *p = get_acl(dir, ACL_TYPE_DEFAULT); > | ^~~~~~~ > fs/ntfs3/namei.c:374:39: error: initialization of 'struct posix_acl *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] > > Caused by commit > > 2b108260ea2c ("fs/ntfs3: atomic_open implementation") > > interacting with commit > > cac2f8b8d8b5 ("fs: rename current get acl method") > > I have applied the following merge fix patch for today. > > From: Stephen Rothwell <sfr@canb.auug.org.au> > Date: Tue, 15 Nov 2022 10:07:59 +1100 > Subject: [PATCH] fix up for "fs: rename current get acl method" > > Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> > --- > fs/ntfs3/namei.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/ntfs3/namei.c b/fs/ntfs3/namei.c > index 20a6ac883312..c8db35e2ae17 100644 > --- a/fs/ntfs3/namei.c > +++ b/fs/ntfs3/namei.c > @@ -371,7 +371,7 @@ static int ntfs_atomic_open(struct inode *dir, struct dentry *dentry, > * ntfs_create_inode -> ntfs_init_acl -> posix_acl_create -> > * ntfs_get_acl -> ntfs_get_acl_ex -> ni_lock > */ > - struct posix_acl *p = get_acl(dir, ACL_TYPE_DEFAULT); > + struct posix_acl *p = get_inode_acl(dir, ACL_TYPE_DEFAULT); > > if (IS_ERR(p)) { > err = PTR_ERR(p); Hey Stephen, Thank you for the report! Your fix is correct. @Konstantin can either pull in ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping.git fs.acl.rework or I'll make a note and will let Linus know during the merge window about this issue. In the latter case I'd just copy-paste your patch to Linus, Stephen? Thanks! Christian
Hi Christian, On Thu, 17 Nov 2022 09:56:44 +0100 Christian Brauner <brauner@kernel.org> wrote: > > or I'll make a note and will let Linus know during the merge window > about this issue. In the latter case I'd just copy-paste your patch to > Linus, Stephen? Or just include a Lore link to my email in your pull request (along with a short explanation).
diff --git a/fs/ntfs3/namei.c b/fs/ntfs3/namei.c index 20a6ac883312..c8db35e2ae17 100644 --- a/fs/ntfs3/namei.c +++ b/fs/ntfs3/namei.c @@ -371,7 +371,7 @@ static int ntfs_atomic_open(struct inode *dir, struct dentry *dentry, * ntfs_create_inode -> ntfs_init_acl -> posix_acl_create -> * ntfs_get_acl -> ntfs_get_acl_ex -> ni_lock */ - struct posix_acl *p = get_acl(dir, ACL_TYPE_DEFAULT); + struct posix_acl *p = get_inode_acl(dir, ACL_TYPE_DEFAULT); if (IS_ERR(p)) { err = PTR_ERR(p);