Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2144496rdh; Sun, 29 Oct 2023 02:50:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH1AY/83/mkURbxgYSRmQseAZ8LIJp88x44eD1n9BuwA1RBIDu0jgw//T7eIuXabAQGTnzT X-Received: by 2002:a81:e40e:0:b0:5a7:ba54:af02 with SMTP id r14-20020a81e40e000000b005a7ba54af02mr6817453ywl.38.1698573031382; Sun, 29 Oct 2023 02:50:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698573031; cv=none; d=google.com; s=arc-20160816; b=Lb0rKWqdbinxW+DCpqlQARuZnA+3fwpi/2HbIl823mVTbMKQNqzI1R5qEqFVHmkwaX 0iMJdh+/SiSGmj22mbOefMN8eEeCzkDEMgJJKnZiX/eoYh0FNcToshVoX3aS9FkUdyBI SJ0Yt9UxpOPvdP9Fz7QeBuHsdvCi9HWkhb56UYV5m+m+LUH3a3Cs15bOAxF+IW7274sg WDAkeNjotkHDZFDnnDxc74VV2+bvJsnbAzN5z95lK6TIdAF1HoYlCxGo0FV+OCosbi+x Q8oyBedAo7CUFqLg2NP0orsvwsJ/Cysnzhhi6DNnzwg41bXK8l2ru41mcJkOQNNTrGO6 BubQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=P28X6pfw1YMZ50dMj1Z2ceMTILza4KIjApTCmG3AzCw=; fh=nzhNVkh8ESTadhkmdI52tISuG8yng+J0yRvGf07IjXc=; b=ez0uuFc7oJhsqjRWMEHeOPVAVRgo8Q6eIfSlny6Cm+PK1FmrkkAOt0eRWkwwizCbnd end2ffkhK1hoqwPkPLseHpf6Odxo/hl9bJ+qyDznfo8MqibPMCR74io1LVFW9ohD7OpO 1AujX8OTm4JdOyMNpPdwTSa7OcxPt6Er20lCeEyFmlQ3/AI/wNmxA/ErvT87naNBV30U 9tcmPylIBgtATzV87ewzt2qg9qSW3PvkPTT8uJOjcF7xr2lj7ggbdQ/cnTnIW683N8nd RLa+HTNzoaClMCvaLoORDQJP7z3gW2HRc+IPUSE1nhw3ghs96/MJs8JmGSx53AW4mrEy S20Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="ZNa/8tK5"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id p10-20020a056a000b4a00b006b28fa70b48si3459205pfo.354.2023.10.29.02.50.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 02:50:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="ZNa/8tK5"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 9D941805DC75; Sun, 29 Oct 2023 02:50:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229482AbjJ2JuS (ORCPT + 99 others); Sun, 29 Oct 2023 05:50:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjJ2JuR (ORCPT ); Sun, 29 Oct 2023 05:50:17 -0400 Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EEBABD; Sun, 29 Oct 2023 02:50:15 -0700 (PDT) Received: by mail-qt1-x82f.google.com with SMTP id d75a77b69052e-41b406523fcso27207371cf.2; Sun, 29 Oct 2023 02:50:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698573015; x=1699177815; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=P28X6pfw1YMZ50dMj1Z2ceMTILza4KIjApTCmG3AzCw=; b=ZNa/8tK5loXuQdzdFRMKwZx6OxvXWVypBdiwDguYYvj1M1/ikN/NoqjtlSyagY00QW MXIMDWjKHFnU9dS8aBts4MIgzfL99HpphDU3Kkx6MNGbslz5gvq1fy8P6DVh/h1vH5nM zrZGTEkV67SiFoKoBwwNYCIZZDRsccksqGWfJfCoY6LsyiyP1RuXzbqqN8rBpNRg4JSt daYRuyDZIdYeYd6dRYWy7d1Nm6SFeWYsFhPfdo1GMzFB0zMe8sTIMgrjtqNWZoi7Ms9w JXfyPc7ud4sxDKb2tFPXS7x2gQ3XjTvf3jt9Qx6CjyZ4Ott4IS1wreouKZteAEBSCUom suxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698573015; x=1699177815; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=P28X6pfw1YMZ50dMj1Z2ceMTILza4KIjApTCmG3AzCw=; b=XXog1V/z0LEKaWywjEPtEm/P+5xlfwulywfygRayTAjM6qjcBeNBsTsK/LnkApk9oU HrOFdmhrL8n+nhWtGXMomnWyTYFj6D2vra21u2jBaSMEMVvI+CLNXeTIi3G1TNvI7oo5 W+FoOENsIEJKFZrEOaZg3CVWXrOk4vElwOy0QhiqQ49jV++VttWxJ6cuEAhcQpAr4ivM L3zzVxDXNryDucv/S5ovlirwa+BvJDE5nXifFdARb8Mah6TajTK/0ldbQvqidG8xkHYz 7kO2BdarFTBD2oLTl3ZkRAbUUStqTnSRVjGgoT6H9SZQsu8bxXD35FP5AiUYKWjW6gha tJ/A== X-Gm-Message-State: AOJu0YwhTFJRtDTCwQGj+Ul9bXPKV1XJwsEKahpqVbqs8oK3BuAn2FF9 N1GBInOQekeoE9+7nQ8dwEB+vtsYZ/p4L0SsEs0= X-Received: by 2002:ad4:5aea:0:b0:672:24bd:3e3f with SMTP id c10-20020ad45aea000000b0067224bd3e3fmr969544qvh.31.1698573014724; Sun, 29 Oct 2023 02:50:14 -0700 (PDT) MIME-Version: 1.0 References: <20231023180801.2953446-1-amir73il@gmail.com> <20231023180801.2953446-3-amir73il@gmail.com> <20231028-zonen-gasbetrieben-47ed8e61adb0@brauner> In-Reply-To: <20231028-zonen-gasbetrieben-47ed8e61adb0@brauner> From: Amir Goldstein Date: Sun, 29 Oct 2023 11:50:03 +0200 Message-ID: Subject: Re: [PATCH v2 2/4] exportfs: make ->encode_fh() a mandatory method for NFS export To: Christian Brauner 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Sun, 29 Oct 2023 02:50:28 -0700 (PDT) On Sat, Oct 28, 2023 at 5:16=E2=80=AFPM Christian Brauner wrote: > > > 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 handl= es > > 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 defau= lt > > implementation to encode FILEID_INO32_GEN* file handles. > > > > This is a step towards allowing filesystems to encode non-decodeabl= e file > > handles for fanotify without having to implement any export_operati= ons. > > > > > > 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. I see no changes. Maybe you have forgotten to push the branch?? Thanks, Amir.