Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3883556rdg; Wed, 18 Oct 2023 08:37:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEeNLYuvlYUcYIiaQ2TXxKqR/DMMKtgfHxmJ4j8PhmktidavafqiE69ZSjM4aQQIQOK4ylO X-Received: by 2002:a05:6358:5d81:b0:164:9d06:e509 with SMTP id s1-20020a0563585d8100b001649d06e509mr6029522rwm.31.1697643445982; Wed, 18 Oct 2023 08:37:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697643445; cv=pass; d=google.com; s=arc-20160816; b=Qoe80jT/IkR7xviQqhUdiOSAQHjVjURNTMSPEKbrZxD0gF1DSSb+hPhP4rSbZMap7J mHpkEqn1A3vbTgwMZb0eUUH8TNHYz71DWuL+BuNGFi5OmO3gszkw0nht7axREMOFNZ3a zSkUTin991X5IDTryz5Lq+Y+o+yBeSIbvbhD4aS3am7KNHthsQ++01WE6aB21hAa5R68 KD4Y539saHSaCbVCBbd6AQXnJH5ZyIjLehwdn0BOAg9YnI1tb7queQIBLdHLasTe6GvP 7sONBaRsv7qaeSTDF/BgRdO8Usge3ZTHL6RwudH3IpOicEaNsbGCT6U7sExxR/T6q6xr EaNQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to :content-transfer-encoding:content-disposition:references:message-id :subject:cc:to:from:date:dkim-signature:dkim-signature; bh=CJfYMInr/K1hy3IU2aWqf9zeMrpDG5MY0RM9eyosDFA=; fh=1tlVfXQSUtPcfoLFCYZnEXaXvHuEb4wg7acWFGpTQwQ=; b=DxJDKAJ1PpJX4Hx4kZAgtCq/IJkD5lbFMR+WPZ+IcJ/LC2PwTCfK6lacJAY8u4tKVd 8MhY1IRylws8wMIZEmbtO/pi2HK1aZIEESBqsb4xv0LCdIigjyQXid72QJ5EpLb31kHe AnQzBwHyi/KQ6iFeCNDdB1p84i7EBS4X8YwgSWWANOj0LbONv3/nsOSJHLzGHrQ8P889 0O9HbjxGZ4xLcwWVc0ewGq3nx3k8jCEv1oltpXtgpG98X1iFQrD6vtQ+cU2UF1SH3+J1 u4dna3ijawTloM052F9TtYZH7R8YzcwKQjthiUjUXQ5mSa7S9eVYh32emQLVmVjhOGlg l0/g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=MVc8Fcbs; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=Qe5mnqcM; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id b24-20020a6567d8000000b0059f0cebd054si2446473pgs.731.2023.10.18.08.37.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 08:37:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=MVc8Fcbs; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=Qe5mnqcM; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id ECE7B80F64BE; Wed, 18 Oct 2023 08:37:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344727AbjJRPhS (ORCPT + 99 others); Wed, 18 Oct 2023 11:37:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344683AbjJRPhN (ORCPT ); Wed, 18 Oct 2023 11:37:13 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F04B114; Wed, 18 Oct 2023 08:37:11 -0700 (PDT) Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39IFTZSX016744; Wed, 18 Oct 2023 15:36:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : content-type : content-transfer-encoding : in-reply-to : mime-version; s=corp-2023-03-30; bh=CJfYMInr/K1hy3IU2aWqf9zeMrpDG5MY0RM9eyosDFA=; b=MVc8FcbsVh7q1grN8L27WUBmYYyaLwkUbPWdG8hDFeZ08wtAxXxq0uqurLkM/AWrB+Xw MfCYYZM2S4mVs7R1yzYo9OVq1ra+xK4GwlbiV1TnxLEGqSpF+TFkWoDcOacVABFFKklq jSgLZX96EKVlO9TT55n/9cReHU2UJ8Wrj2+i5LQRT2PEVh84OCfoFcz7AcruP0nRJlUW fkB27MtQWgw2UepKlGlS3ZVYGOBonAZS9uN8wIX/3WzAP/i3XQ1PRVjDexAWv7ofhhXn pVanXOPinjTMiED3IpOwJh3w6S8tr/HPZ6wm3bfXW9LOmZS6fm+TnmWjXYcKwMOr79Xl qg== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3tqk28qyjy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 18 Oct 2023 15:36:36 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 39IFCgZt027148; Wed, 18 Oct 2023 15:36:36 GMT Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam04lp2168.outbound.protection.outlook.com [104.47.73.168]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3trg55fdka-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 18 Oct 2023 15:36:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YuQ6ufOE8hO/VLAzypSSOeN6xsSa4DkqPSMmKg+t2hDRZTypMKk5jXcrCObYPMO+6J20PGEwnP9qwu4PpkaNu3OPbE2XJLz3zxn10Ib86py7IQCYie+YQxrQfhTlcupLuUQK3NLZq+UeZS5w63eIq0CE5GohODSPkqt0RYouozVvaOTP/dlAZYwSzQzN137xdiVUzG076vFMCUO2z9yZN59JupC+KX8/qJ5uct5AevpqXuc6Wtdu6gvkNeygkLGY4nEunQucOOD4Tl9ABBfimictlrzdyAJgnuXolmBYtJq0ihLAB8NdloSNSu0klb9wtHkw2RhYVHnqsRksSoyf3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CJfYMInr/K1hy3IU2aWqf9zeMrpDG5MY0RM9eyosDFA=; b=HcCr8k4cMPbxM8ENPf1CS1ZzYjgTHuywqwSpoZuloMGzyVHWrRvky/GSdv75frOChvfs6BcCv964TTaRZnT2Vr+NtZfi2BLtUHryHKHFqnEBnu8Qs7fglU/t/XlQYQGzkrDq8+zC5vafRZiYI/qTw8jcCdv4DFzQtRGLWYJcU3C7NxAmNrUlEdyG88QPSfopdqV6DNeIaU193NolJSVqSGmrLyfd7Oaw0uA5djh3hA1qMtHhDRiTFKA997GDhkFVBwqtT2q9/+goDhU5nNcmLKM1Wb49IujTWY3aEKzHCnGHGPdWcaTiB484IgzLWjCEIViFurVAaTmefIOeDqjviA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CJfYMInr/K1hy3IU2aWqf9zeMrpDG5MY0RM9eyosDFA=; b=Qe5mnqcMjBmA29w780Hx2yKoX3gkXrDxpGb2lMc/nrrHa4xWKV7Ji+Whg/rKjuiTRryIMq/t9spKJTlqjoRRz7gIBK3mBRfTQG/HlGSIYpo4TobeQi30JWbCJsZZ98VZ2HSEVcXWLRPZxZWRfNMa7UYwnQ6lxAl6jx0zmgB4ErM= Received: from BN0PR10MB5128.namprd10.prod.outlook.com (2603:10b6:408:117::24) by CH0PR10MB7534.namprd10.prod.outlook.com (2603:10b6:610:190::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.46; Wed, 18 Oct 2023 15:36:33 +0000 Received: from BN0PR10MB5128.namprd10.prod.outlook.com ([fe80::215d:3058:19a6:ed3]) by BN0PR10MB5128.namprd10.prod.outlook.com ([fe80::215d:3058:19a6:ed3%3]) with mapi id 15.20.6907.021; Wed, 18 Oct 2023 15:36:33 +0000 Date: Wed, 18 Oct 2023 11:36:29 -0400 From: Chuck Lever To: Amir Goldstein Cc: Jan Kara , Jeff Layton , Christian Brauner , 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 3/5] exportfs: make ->encode_fh() a mandatory method for NFS export Message-ID: References: <20231018100000.2453965-1-amir73il@gmail.com> <20231018100000.2453965-4-amir73il@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-ClientProxiedBy: CH5PR04CA0012.namprd04.prod.outlook.com (2603:10b6:610:1f4::28) To BN0PR10MB5128.namprd10.prod.outlook.com (2603:10b6:408:117::24) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN0PR10MB5128:EE_|CH0PR10MB7534:EE_ X-MS-Office365-Filtering-Correlation-Id: 75c90037-ccc0-4708-1a1b-08dbcff001a5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jL01N2kAtDQs/5crydWqdRATy6TtUqX1RIgWyM4bseRfBRbEzf+TtNzd3zJRYGDOgaL83D/nB+X3Y4q2LrBaQ0xJBHpoujzIE55hRnLNw8AHyftH9pvPvAJP/3SGOBvUGwjCOQcA5SYRH0fm9ngyZyqOAU6WmLnS2uTYgCe3eNt5bpjAoEefM1yRW+tLkCnp2NMW1iDPgfE/zFm2rMOwCINwjaInAyqxi7nrDN8EMhMnvBPGfN/oUXkLetCXHELxWGPPiWvrj5PL8iWAuWqwPyNmUG2f0I9ggbHhC+0s9MjLK+mGfX88c/6Lk73d9vl3NA+M6kyl44f/JTUTc3gRoKISccctOnlbTMYdLD2A8JfGUV7uZHYGoi+3Gu5R6l3isrG5PZVnTxFoMlJAI/4nPXZc2g3q3LUUi73+1Q6aGTGlmZQfGOgZEjJBM4QFel7+0/px9aF5082No2RN3PKoz1SlYpurZ2WiMSoRMIbo2SEVKwrjRgz2s9LuZ2iW9NrwfmAcQPgABa1CuHHzPgTwBbCQ3rTMk5rOkQAFYN6V+eFrmu6HZfTvqf04Q4cJOUm4 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN0PR10MB5128.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(376002)(366004)(396003)(136003)(39860400002)(230922051799003)(451199024)(186009)(64100799003)(1800799009)(53546011)(66946007)(9686003)(4326008)(8936002)(6916009)(316002)(6666004)(66476007)(6512007)(6506007)(66556008)(54906003)(38100700002)(5660300002)(8676002)(44832011)(26005)(478600001)(6486002)(41300700001)(2906002)(83380400001)(7416002)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TTFYc1luYmZmb096bEtob3FlRFFud2MycTZGcndFYmdodW5KY1RkSTZVNWF6?= =?utf-8?B?dnVyOGRDZTJoblA4eFRlRTVPU0paZkVoa1doYkkwbVFLcGtqMHFkSDJOQjk4?= =?utf-8?B?U3F0RW40MG9WbFpBMG9POTBFTjRCZDZ2bkdUTDU2NWJjOGZZVUdOMmtOOHlh?= =?utf-8?B?QXoyMW1RSFU1MGozQTBvcmtvcUEyaElkOTE0cGFvTDlnQUhqRUFaMG9oK2lz?= =?utf-8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VdZbFBV?= =?utf-8?Q?Zoo8ZSFSQ1UO7sqMLU2vbaoRm+1iaFc4gm9L9yAKJm/eO/?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 75c90037-ccc0-4708-1a1b-08dbcff001a5 X-MS-Exchange-CrossTenant-AuthSource: BN0PR10MB5128.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 15:36:33.1505 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: RCSP1n41hxTc8OaUKuXPz1GRDJSntOouIGBXyilL8y8Ck9jueoCTWK+Peh8uV87ny4dhNLDS8yyhRKxcHxK+FQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB7534 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-18_14,2023-10-18_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxscore=0 phishscore=0 malwarescore=0 suspectscore=0 mlxlogscore=999 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310180126 X-Proofpoint-ORIG-GUID: JmjlFgoX4GgM075qca3tVH_Y2lxGo21r X-Proofpoint-GUID: JmjlFgoX4GgM075qca3tVH_Y2lxGo21r 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 agentk.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 (agentk.vger.email [0.0.0.0]); Wed, 18 Oct 2023 08:37:23 -0700 (PDT) On Wed, Oct 18, 2023 at 06:26:07PM +0300, Amir Goldstein wrote: > On Wed, Oct 18, 2023 at 6:18 PM Chuck Lever wrote: > > > > On Wed, Oct 18, 2023 at 12:59:58PM +0300, Amir Goldstein wrote: > > > export_operations ->encode_fh() no longer has a default implementation to > > > encode FILEID_INO32_GEN* file handles. > > > > > > 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. > > > > > > This is a step towards allowing filesystems to encode non-decodeable file > > > handles for fanotify without having to implement any export_operations. > > > > > > Signed-off-by: Amir Goldstein > > > --- > [...] > > > > diff --git a/include/linux/exportfs.h b/include/linux/exportfs.h > > > index 5b3c9f30b422..6b6e01321405 100644 > > > --- a/include/linux/exportfs.h > > > +++ b/include/linux/exportfs.h > > > @@ -235,7 +235,7 @@ extern int exportfs_encode_fh(struct dentry *dentry, struct fid *fid, > > > > > > static inline bool exportfs_can_encode_fid(const struct export_operations *nop) > > > { > > > - return nop; > > > + return nop && nop->encode_fh; > > > > The ->encode_fh() method returns an integer type, not a boolean. It > > would be more clear if this were written > > > > return nop && (nop->encode_fh != FILEID_ROOT); > > > > (I'm just guessing at what you might have intended). > > > > You must be pre-coffee ;) More like pre-lunch. > This checks if the method exists, it doesn't invoke the method. OK, I was confused because I thought you were filling in all the spots where the method doesn't already exist. My brain lept to the conclusion that this is therefore calling the method, but I failed to notice there are no call arguments. I might understand it now. :-) Since you want this series to go through the vfs tree: Acked-by: Chuck Lever -- Chuck Lever