Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1790682rdh; Sat, 28 Oct 2023 07:17:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEmjX5X5Zwo0tN2USfE5giglfXRnL+0jsCr3ezgxIwwUr35cHOe+7fSGdGjFzOqBlzOBi6w X-Received: by 2002:a17:903:18f:b0:1c7:66a4:27ba with SMTP id z15-20020a170903018f00b001c766a427bamr7333296plg.48.1698502647047; Sat, 28 Oct 2023 07:17:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698502647; cv=none; d=google.com; s=arc-20160816; b=iNiVuZV1jjhzBgd4X36fVPeB09+ID3NoZOJtz+D6YnKmMFcIhLPoZFmDP70md1a79S e6Xyp0Fqu65pxhsB3PlU41dR4NMMRIWXFxuECwYsAZUdY486g1HgJC3TlQbqzo9AxcRl NML7cMjRTd3xMHeJ7UsvfbNnz9sKdzC0yPmQPTjkIpcVb2jDfr4SOgdQWIPfdlNi8Juy OTZNFTSNOgEW8QudiTgo1JvcIlwe/pnBb0A5fmjYhma/rUnhuOrLg/wEKcK/zUozKreL bO/O56o+XvMZnZO4fZuj2SpErSZsM841GqPl+rTjZnal1gIYGsg/OKvDaumTWdvkh59L kYpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NYfS+8NT2L7G0iKkqb4v8t+703sxUGUD62pBUWeFQhU=; fh=GPReSwwaD3E1WqQY7Q0gldYSPGP+IaMXQP8+k0YkHLY=; b=W8ScpZXglJXDBr6GkWpTfBIiHbKIc7eOd4haC0w05VbCpTaBXU8M8CzC973Nf1lGRE YFbG2n6XYTG7m/FyQC5tW5nH/QmcNh3zQD3d1fpJDUTxY/8uobrYr0FZxQLnU9Cl4j0R JDrRkuI5jLLKnoV3T3DEVyfequsDIql+Ww/Mk/ih3/Q56pV2TARCNysTl0yEFuG0Mr0m XOio2GVv3KKPgW4MNw9TOkKLaWE6Sl9xF4rxoqLYqpWGQA+q2i8D8n5f0WpghH55QD/7 32EN2K+FbUKwk6QLdrP/VeRmq1pZWQswUWV7UDQA2O+Rqasda4d+ddHzf9BwhUVUa63I r2ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CLxKN153; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id u19-20020a170903309300b001ca4dd7b834si2586683plc.309.2023.10.28.07.17.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Oct 2023 07:17:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CLxKN153; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id E7AA58095805; Sat, 28 Oct 2023 07:17:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229454AbjJ1ORB (ORCPT + 99 others); Sat, 28 Oct 2023 10:17:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjJ1ORA (ORCPT ); Sat, 28 Oct 2023 10:17:00 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CCF9C1 for ; Sat, 28 Oct 2023 07:16:58 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6B24C433C7; Sat, 28 Oct 2023 14:16:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698502618; bh=LMluMM37x5/WCOZzNMoon8iPuNJBI0Msy/UMZwDezlg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CLxKN153rAa33+bumUre1oWn7p7aVbr5X+6QVmF8Z9hIiIbvgm7ww6QzuZpFYSfdo ZTfjFp8OHp3bVrlXdo2sW6pV1JllNmAPVzVA3lO3LWZPwrI2kkWkgWUTAf/cyaO53m TPMKBhFFGopV/S0l8QbP3mS57zK4chJVkEHm5OeVo7xxYFq+8DSciz/x9lTkkmNvxs 7SSzOopVqDDPdrUQhfCnfuyojuVesgUD3RRx87z3EuDRPFhyXpk3J6NJ8hF/Yp70p7 uFBzLNXSqBV+uR1msGkotV2MBiyq8sk0ltyrmhsVYTN1GGETpnJ9oSm2zamMSe1OxS iOa5P5xZezyjA== Date: Sat, 28 Oct 2023 16:16:49 +0200 From: Christian Brauner To: Amir Goldstein Cc: Christoph Hellwig , Al Viro , Jan Kara , Jeff Layton , Chuck Lever , linux-fsdevel@vger.kernel.org, linux-nfs@vger.kernel.org, David Sterba , Luis de Bethencourt , Salah Triki , Gao Xiang , Chao Yu , Theodore Ts'o , Andreas Dilger , Jaegeuk Kim , OGAWA Hirofumi , Dave Kleikamp , David Woodhouse , Richard Weinberger , Anton Altaparmakov , Konstantin Komarov , Steve French , Phillip Lougher , Evgeniy Dushistov Subject: Re: [PATCH v2 2/4] exportfs: make ->encode_fh() a mandatory method for NFS export Message-ID: <20231028-zonen-gasbetrieben-47ed8e61adb0@brauner> References: <20231023180801.2953446-1-amir73il@gmail.com> <20231023180801.2953446-3-amir73il@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 pete.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 (pete.vger.email [0.0.0.0]); Sat, 28 Oct 2023 07:17:11 -0700 (PDT) > Actually, Christian, since you already picked up the build fix and > MAINTAINERS patch, cloud I bother you to fixup the commit > message of this patch according to Christoph's request: > > exportfs: make ->encode_fh() a mandatory method for NFS export > > Rename the default helper for encoding FILEID_INO32_GEN* file handles > to generic_encode_ino32_fh() and convert the filesystems that used the > default implementation to use the generic helper explicitly. > > After this change, exportfs_encode_inode_fh() no longer has a default > implementation to encode FILEID_INO32_GEN* file handles. > > This is a step towards allowing filesystems to encode non-decodeable file > handles for fanotify without having to implement any export_operations. > > > Might as well add hch RVB on patch #1 while at it. Done, please check in vfs.f_fsid and yell if something is wrong.