Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp961017rdh; Thu, 26 Oct 2023 23:59:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE/HmGTeZCH/sofUCooataTQ5nw/vngvvyLOA/4XTplVtLM4cLM7hlsu558VRJ3sbVCMpC1 X-Received: by 2002:a1f:784e:0:b0:49a:b737:4dfa with SMTP id t75-20020a1f784e000000b0049ab7374dfamr2424317vkc.4.1698389986982; Thu, 26 Oct 2023 23:59:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698389986; cv=none; d=google.com; s=arc-20160816; b=HCKp0e5VSHKb0yPeMoItZyTWlf7GLYHyalvrou/JBoHvEUZuBJcjG/LW8YHdjGdEE6 GuswIjnzqw9sXsFUApkEpqbGX4roELH+o782k17kRXuV1PkbIQ8bb0OSoiyquYMA+e5a /km5vhIjKQlnHPtElGms1O2zM0atgrU/tUJcc6D9UjH7mARfviQdU6Hv3CANfEJrfmt8 ECNa+7oucFzh5rFoaiUEij+mtG5jxa27UjxXH1CKG6hckaIaVJh/SdYPtUhVTZkXccl/ 82DXR5VEZ99uuOpi0YxIM2DQvxxG5efVN48qiFm3thvVaYAD7uAjFBZoa0Q1Rx2aHSJx 1ocQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=LCOGIdEAA3K9vSNcOyI1UVHdJVWxI+vzkle3h6ak1Ik=; fh=zHQU7ADMGY0QVHcDb0f1sRh6+i52fatO77uIXJU1MPI=; b=ybrJTlsO2fjka3vGSXtIRhdJDiQgxYqZgWYS5w0AZxk9mSqoMdMTc/hudOgIjwfsCz ECCr0Atd1OLtBLSsRri3oyW+YsRHnm4ip90sY5U6qxmCOaNvb4H4Eyq/YuXHUljhuE6I wPsywWMsEmDHEAFiQ/4fFmGRoD70FDBhWbOaAnROGykQ4yg4vaeFOXAznToZWajaQsNV xkcv4NnDI3lTrgM/4WIzuYRcmeoAFC1gXOKebcq37PotbjX+kKm9b+pon3oSWAfD+0I9 X89iQmCtkmMjYe5mXwG1VKOhy2HAH/rZfTk/y6UFzWjIx9LcQ6JKfzFV0JZ5tHVxPZAg GEcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b="kqwCA5H/"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=OkSroYDB; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id p16-20020a0de610000000b005a4f6575a70si1582333ywe.62.2023.10.26.23.59.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 23:59:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b="kqwCA5H/"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=OkSroYDB; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 7E0F2826A045; Thu, 26 Oct 2023 23:59:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231233AbjJ0G7l (ORCPT + 99 others); Fri, 27 Oct 2023 02:59:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229590AbjJ0G7k (ORCPT ); Fri, 27 Oct 2023 02:59:40 -0400 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC5A9116; Thu, 26 Oct 2023 23:59:38 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 6485D3200B20; Fri, 27 Oct 2023 02:59:35 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Fri, 27 Oct 2023 02:59:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1698389974; x=1698476374; bh=LC OGIdEAA3K9vSNcOyI1UVHdJVWxI+vzkle3h6ak1Ik=; b=kqwCA5H/YNNXZ6ExP2 gT1/jTuL5V0O7Xo2qBo52CBgSrj13ts7QJgCGyBN4V9iuJTk7Hz339IXjeyHvBef /SOCwgHvy9ltSDOiNRSzKhCBgOC/wWY1GvwHiwIvJwkAiRMxQnD/B639BIZhf0Qj PdhEwdd4urZIj8yZakkiKRb14jS0cphiFmKT6/3MlpIOOVe4t0X3SfCuT1bkEpKw x7Abe2cq9xRlQYLGARK7Bp738pWYdSOoHjFJY6NXjwgRr9R4Zul0PungSXb05hzj dgQ0cHBa07Us4MQqLMCDkzKKGC+n4NGn2cXD3qjSEE9dAyK5/proG8dRIR4iUAsx RPoA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1698389974; x=1698476374; bh=LCOGIdEAA3K9v SNcOyI1UVHdJVWxI+vzkle3h6ak1Ik=; b=OkSroYDBiyBePX4B7uIH2e+32IS0X 4QZRV8PxECdgVB5X4wmpn7w4YS5oXaAliyYur/1zY9zBijYSfrUyZPIerVqkX8Rh 6wZ1YWy+3YHBNzFREPR4I6vqFMLE4UJp5mkkJzJS6ZC1EAFL4c11uAiCmechIxY1 FQIIAogF838aUgkrL5zF4ZvY2iAATzNir7WZAxXpH/6uPoAyikT+4QgwM9cIKMTl ARscWzHbmCgl4VRNe8bfPobwSVEgwevhm+8/us1WRiOdYScntyR3N3ICzKtpBZQZ jPU2Hqsm3ktff8hL4SD4B3NkS7C/AIjzpWWX5aItgvwlyRVNe2y1XYd8w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrleefgdduudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepvefhffeltdegheeffffhtdegvdehjedtgfekueevgfduffettedtkeekueef hedunecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 1BCAEB60089; Fri, 27 Oct 2023 02:59:33 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1048-g9229b632c5-fm-20231019.001-g9229b632 MIME-Version: 1.0 Message-Id: <4bef4861-d3eb-4d48-bd8f-b31a000c6904@app.fastmail.com> In-Reply-To: <20231026204540.143217-1-amir73il@gmail.com> References: <20231026204540.143217-1-amir73il@gmail.com> Date: Fri, 27 Oct 2023 08:59:13 +0200 From: "Arnd Bergmann" To: "Amir Goldstein" , "Christian Brauner" Cc: "Jeff Layton" , "Chuck Lever" , linux-fsdevel@vger.kernel.org, linux-nfs@vger.kernel.org, "kernel test robot" Subject: Re: [PATCH] fs: fix build error with CONFIG_EXPORTFS=m or not defined Content-Type: text/plain X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 26 Oct 2023 23:59:41 -0700 (PDT) On Thu, Oct 26, 2023, at 22:45, Amir Goldstein wrote: > Many of the filesystems that call the generic exportfs helpers do not > select the EXPORTFS config. > > Move generic_encode_ino32_fh() to libfs.c, same as generic_fh_to_*() > to avoid having to fix all those config dependencies. > > Reported-by: kernel test robot > Closes: > https://lore.kernel.org/oe-kbuild-all/202310262151.renqMvme-lkp@intel.com/ > Fixes: dfaf653dc415 ("exportfs: make ->encode_fh() a mandatory method > for NFS export") > Suggested-by: Arnd Bergmann > Signed-off-by: Amir Goldstein > --- > > Christian, > > Soaking f_fsid in linux-next started to bring goodies. > Please feel free to apply the fix as is or squash it. I just confirmed that this fixes all the build regressions I see with your series, as expected, thanks for the fix Tested-by: Arnd Bergmann