From patchwork Mon Nov 14 23:17:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Rothwell X-Patchwork-Id: 20089 Return-Path: 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 + 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 ); 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 To: Konstantin Komarov , Christian Brauner , Seth Forshee Cc: "Christian Brauner (Microsoft)" , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the ntfs3 tree Message-ID: <20221115101756.5d311f25@canb.auug.org.au> MIME-Version: 1.0 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: 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?= 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 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 --- 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);