Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp3011816rdb; Mon, 4 Dec 2023 14:05:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IESJyzOZt3zr0i0XqbNQV572BOv0+ALuFo1Y4WoEFsV7Ad3DCHSKcbh6qshFS+oI7hFynvN X-Received: by 2002:ac8:5f0b:0:b0:418:cd5:ac97 with SMTP id x11-20020ac85f0b000000b004180cd5ac97mr248022qta.65.1701727537092; Mon, 04 Dec 2023 14:05:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701727537; cv=pass; d=google.com; s=arc-20160816; b=oSOYXuvyoN8vs8NkwXSQRCVYlpajl7suvhr3mMKilAivkblbGVmP5EheD4wf/Wi8f/ l5gPMgWO9PhwdacxxOsNkEP7/TYYFBQ7wf4p3Miaftx8x8ZWOOJ24GgHyLSN5X2c7ItD twfZzNTh572z5C5fto1Z87pf1ascaO4zUPVueB/5DwJDh6BQxe7Z3rKzz3zmW/x31HYr SbrbEELv6yIea9UPqWQ+q5avH381U8Ev5nZIAEockGpf/xnPe6+RBC/c+6ZkncHBYu60 JHOvbG+4cEiHB+O8ZgaTIDL4gsdTs0Jo+US5nnRliED8EApokpl+uiau9nDom5UvRdW1 A7nw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :in-reply-to:content-transfer-encoding:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=invrbxQpf8P68RHJgicOg1YulTXnzvQK2baOM8KCEak=; fh=dnkPhcHtRhOPeKdmVZ7hcUd5ZPlhnYjo+tWI7RUlk5s=; b=KSMOPLwJP3hsP7zWDDYDC+gl/IX+ac476Lej0VeJ7q5VSeKGk5kfNnDpLBoXUsfU/g 1ImJXT3dTyfm5NbzmOYd1PE+jcJ5NHW3lC+xX+VkU4Z41sML2u8AlZTLApfVJkrTpuPI 1JhSrNGLBp/zXSzZBYFCoR3NdqVq6v24+ZuX1DV45KIbx8k42yVVgalF8wujuvwWoO5k lqJGn+gRCeQLhhbE2OmghvnaGQYRIDg0l8WnJ/+s8ZQahRCoIAKOEqoGXg5OyNAYFQGT 5HIFwMxcNLoiv2hFm0N4MDUpPPk3lvqGikfteZZFYSVQ9+JLf5n5ZlT8T0roM3+figmv udqQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=PkFrz3QM; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=xtYuGEf1; 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+bounces-317-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-317-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d4-20020ac86684000000b004069466b1c0si9460469qtp.562.2023.12.04.14.05.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 14:05:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-317-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=PkFrz3QM; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=xtYuGEf1; 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+bounces-317-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-317-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B126E1C20AD2 for ; Mon, 4 Dec 2023 22:05:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 19E56381D9; Mon, 4 Dec 2023 22:05:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="PkFrz3QM"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="xtYuGEf1" X-Original-To: linux-nfs@vger.kernel.org Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC8C9101; Mon, 4 Dec 2023 14:05:30 -0800 (PST) Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B4LnuTB019687; Mon, 4 Dec 2023 22:05:10 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-11-20; bh=invrbxQpf8P68RHJgicOg1YulTXnzvQK2baOM8KCEak=; b=PkFrz3QMVZQJPPjeIarg+zAnKb4mc4ZLTyWgsbva+sGVu7U0QFmQg52nKuzYIO9IuCMO 3b2j4OHB9ierfY++hQ/BAcrgNKUpI/dOQWkCl7js5jG8188FCvXSPQUg93QLxgvkbtgD MBFkNnugGE2Q6SG/5mdKHrD9hSmXaXfwVglM1wOH3RIrXLKeh2T7LSLbnGmZkWhBxiz3 1unuxkzvoG55yT50Mjy/KiJeU626sU2qwdDtXRhjty6rtdZ7+8facF7Qd67uRoI65T4w 0AAYyAvNScZJ0/M0cH2cCdhlO2OlrzpxzAbL2JEk00P7vVH0tpYf28N6yU0tGXLyVtf3 EQ== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3uspm703xe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 04 Dec 2023 22:05:09 +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 3B4Kjbce020707; Mon, 4 Dec 2023 22:05:08 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2041.outbound.protection.outlook.com [104.47.66.41]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3uqu16hkdj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 04 Dec 2023 22:05:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=beWKceIUnDeG9mdfUhUJKOveiyIr7CTzy/AsMqvYc9PgjdXNJ/BOYzfeXKh2E6NOyfxwgbD67W6AAuGBbP/htHSTpLcVScsiSdbErG7iXej1JcSto92zfITGpjctPUMdCrlPSt4vxkGYwOjwBY4cVBa1DneVen/4uGDpuLUF1lP63n0v//0maqrDPDfFP9kf7+9+DsU60hJ3w3cjRK2zIbwDlj9DFWe8YwRN7q+dVTJHSBdJpQmOH66vxxowMvnFNTryuEq9z7ze9rInAmvBLHb6TR0qoYsjCzDfr48T0RpGjE6TOl/Zm60aUq9esr0P+kPh6grQTtvnE+ase3qB4A== 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=invrbxQpf8P68RHJgicOg1YulTXnzvQK2baOM8KCEak=; b=cSnV0h4hiyOtBWBNyQhyoHc+kJIIsx0EK1ASmKf/lH56hsmTU0vCWpGb7JptpWNPoo8ggCsud6jCDRAObgCr1VPyNJcNVOv0zpkITUnbf541CHPHioa56lIesBsVyY8Eo9X0wEnox+QqcgGFOXg0LkKg1qD7GIRa7FlqjReWMAYWNmuRW62vpMD48v22hXyrrr5ez8/z5Y70/n6ah5MIv3DkDJ0D9oIJOnnjU6IAs/Scd6dgPwezwkKbnsrdC1RUihCjog++YUfJlLXCwUdWdXPi60cTVzWv/6a1AZjzeAHjUpdOPDhtj9jR5a5lMZotzwWRKybG6503UAX+ajhExg== 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=invrbxQpf8P68RHJgicOg1YulTXnzvQK2baOM8KCEak=; b=xtYuGEf10lUETwDbMKREN8m+P7nMgwiiDUhaC3qAAxek9qUk7pZXnpBsQngJ3cDq3R9smm4iW7ssWEftsWcemt3gIj43EDnb+cb5BVd1iHu5oiljKDV4uQuxF2uS6lKMHps0TncRUIE9EdL4DyYLKfWUipDb54lw7AwPWkB3x+4= Received: from BN0PR10MB5128.namprd10.prod.outlook.com (2603:10b6:408:117::24) by BY5PR10MB4113.namprd10.prod.outlook.com (2603:10b6:a03:20d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.34; Mon, 4 Dec 2023 22:05:05 +0000 Received: from BN0PR10MB5128.namprd10.prod.outlook.com ([fe80::360b:b3c0:c5a9:3b3c]) by BN0PR10MB5128.namprd10.prod.outlook.com ([fe80::360b:b3c0:c5a9:3b3c%4]) with mapi id 15.20.7046.034; Mon, 4 Dec 2023 22:05:05 +0000 Date: Mon, 4 Dec 2023 17:05:01 -0500 From: Chuck Lever To: Anna Schumaker Cc: chenxiaosongemail@foxmail.com, trond.myklebust@hammerspace.com, jlayton@kernel.org, neilb@suse.de, kolga@netapp.com, Dai.Ngo@oracle.com, tom@talpey.com, linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org, chenxiaosong@kylinos.cn, liuzhengyuan@kylinos.cn, huhai@kylinos.cn, liuyun01@kylinos.cn Subject: Re: [PATCH] NFSv4, NFSD: move enum nfs_cb_opnum4 to include/linux/nfs4.h Message-ID: References: Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-ClientProxiedBy: CH5PR03CA0001.namprd03.prod.outlook.com (2603:10b6:610:1f1::29) To BN0PR10MB5128.namprd10.prod.outlook.com (2603:10b6:408:117::24) Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN0PR10MB5128:EE_|BY5PR10MB4113:EE_ X-MS-Office365-Filtering-Correlation-Id: c8012aea-229b-4272-f086-08dbf5151239 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aGzAkuQFwFQ1l2lp5EDZEon8q2W0/8aT8p5SSMynpXZ1EZ6dwweC+fkSRfgtZmXvIIihWOTIYoxbJEBjb+LRUcllUutoCurlVCsjcWPaUpMnhkpYcr7JIYmXHaw02jrelvAPtPtOYu5+uz5G4Xr1yLstoPOmsREmUopWcLwG8jms7BrFX18IGOVEeZdR4tv3eKCGoDhoSW2sJcZUt66R02MTfoHUnexcs5RwHTsOn9BXawmx94KHmVG/HYaZIU522I7T6wKKdqCHbF7NgmoyQIshxZ5m7Oyv/QSmtCr8Yn+6ctFgKCFyfv4qcBIrlvnbMKQfBZ1VdizA/ftqWbSJPGJW966DDXKHoGeJpWtDIzD3DsoTvaJ6rW7mCw5SkaHbdTSmOhL1vgn7WwwBqUZ2k1+FdQreMRZ7Zz5POdukXOq6p70gsMvXrDh3mpwz4knaYZnT2/6/yzJeM9Y1UMIxOnh/+xYvkU5RI22s2SHOTwMztzOHa0jb6r1H9oGWLWQR2skPcRK8GYe6sMX0Ky01gBn0gmPO5gT2TFfzKW/Kk9ICSkbbUGRB1mRNKL2v58hFmvHvRya5rzX/vL6IpfNnkXfrTl+ssxMCwqcxlNAWjvTj/2cTI51jmGvMjNwd95iZ 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)(396003)(136003)(346002)(39860400002)(366004)(376002)(230922051799003)(186009)(451199024)(64100799003)(1800799012)(41300700001)(38100700002)(2906002)(83380400001)(5660300002)(7416002)(26005)(53546011)(9686003)(6512007)(478600001)(44832011)(6486002)(6666004)(86362001)(6506007)(4326008)(8936002)(66556008)(66476007)(8676002)(316002)(6916009)(66946007)(48020200002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dFRmVU9USk41VVVzdmxHYUN0ZmNoUnBZeFFjUlRHclV5K293YmU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A=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: c8012aea-229b-4272-f086-08dbf5151239 X-MS-Exchange-CrossTenant-AuthSource: BN0PR10MB5128.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2023 22:05:05.4554 (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: 4c1dIFUI1zhUepSaExeSjk0Ui4acoJ8i9LpEOISvgfgVm2fV7fp/C8ynLUbsMtz9fMJ6+D6Ffc22pQpnlUckAA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR10MB4113 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-04_20,2023-12-04_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 spamscore=0 malwarescore=0 phishscore=0 bulkscore=0 adultscore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2312040173 X-Proofpoint-ORIG-GUID: hmSvyMEzG1P2B0zK5s771pr4vysQYLK9 X-Proofpoint-GUID: hmSvyMEzG1P2B0zK5s771pr4vysQYLK9 On Mon, Dec 04, 2023 at 03:31:44PM -0500, Anna Schumaker wrote: > On Sun, Dec 3, 2023 at 12:32 PM Chuck Lever wrote: > > > > On Sat, Dec 02, 2023 at 09:07:25PM +0000, chenxiaosongemail@foxmail.com wrote: > > > From: ChenXiaoSong > > > > > > Callback operations enum is defined in client and server, move it to > > > common header file. > > > > > > Signed-off-by: ChenXiaoSong > > > > LGTM. > > > > I can take this through the nfsd-next tree if I get an Acked-by: > > from the NFS client maintainers. If they would like to take this > > through the NFS client tree, let me know, and I will send my > > Acked-by. > > Looks fine to me, and I'm okay with you taking it: > > Acked-by: Anna Schumaker Thanks, everyone! Applied to nfsd-next for v6.8. > > > --- > > > fs/nfs/callback.h | 19 ------------------- > > > fs/nfsd/nfs4callback.c | 26 +------------------------- > > > include/linux/nfs4.h | 22 ++++++++++++++++++++++ > > > 3 files changed, 23 insertions(+), 44 deletions(-) > > > > > > diff --git a/fs/nfs/callback.h b/fs/nfs/callback.h > > > index ccd4f245cae2..0279b78b5fc9 100644 > > > --- a/fs/nfs/callback.h > > > +++ b/fs/nfs/callback.h > > > @@ -19,25 +19,6 @@ enum nfs4_callback_procnum { > > > CB_COMPOUND = 1, > > > }; > > > > > > -enum nfs4_callback_opnum { > > > - OP_CB_GETATTR = 3, > > > - OP_CB_RECALL = 4, > > > -/* Callback operations new to NFSv4.1 */ > > > - OP_CB_LAYOUTRECALL = 5, > > > - OP_CB_NOTIFY = 6, > > > - OP_CB_PUSH_DELEG = 7, > > > - OP_CB_RECALL_ANY = 8, > > > - OP_CB_RECALLABLE_OBJ_AVAIL = 9, > > > - OP_CB_RECALL_SLOT = 10, > > > - OP_CB_SEQUENCE = 11, > > > - OP_CB_WANTS_CANCELLED = 12, > > > - OP_CB_NOTIFY_LOCK = 13, > > > - OP_CB_NOTIFY_DEVICEID = 14, > > > -/* Callback operations new to NFSv4.2 */ > > > - OP_CB_OFFLOAD = 15, > > > - OP_CB_ILLEGAL = 10044, > > > -}; > > > - > > > struct nfs4_slot; > > > struct cb_process_state { > > > __be32 drc_status; > > > diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c > > > index 92bc109dabe6..30aa241038eb 100644 > > > --- a/fs/nfsd/nfs4callback.c > > > +++ b/fs/nfsd/nfs4callback.c > > > @@ -31,6 +31,7 @@ > > > * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > > > */ > > > > > > +#include > > > #include > > > #include > > > #include > > > @@ -101,31 +102,6 @@ static int decode_cb_fattr4(struct xdr_stream *xdr, uint32_t *bitmap, > > > return 0; > > > } > > > > > > -/* > > > - * nfs_cb_opnum4 > > > - * > > > - * enum nfs_cb_opnum4 { > > > - * OP_CB_GETATTR = 3, > > > - * ... > > > - * }; > > > - */ > > > -enum nfs_cb_opnum4 { > > > - OP_CB_GETATTR = 3, > > > - OP_CB_RECALL = 4, > > > - OP_CB_LAYOUTRECALL = 5, > > > - OP_CB_NOTIFY = 6, > > > - OP_CB_PUSH_DELEG = 7, > > > - OP_CB_RECALL_ANY = 8, > > > - OP_CB_RECALLABLE_OBJ_AVAIL = 9, > > > - OP_CB_RECALL_SLOT = 10, > > > - OP_CB_SEQUENCE = 11, > > > - OP_CB_WANTS_CANCELLED = 12, > > > - OP_CB_NOTIFY_LOCK = 13, > > > - OP_CB_NOTIFY_DEVICEID = 14, > > > - OP_CB_OFFLOAD = 15, > > > - OP_CB_ILLEGAL = 10044 > > > -}; > > > - > > > static void encode_nfs_cb_opnum4(struct xdr_stream *xdr, enum nfs_cb_opnum4 op) > > > { > > > __be32 *p; > > > diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h > > > index c11c4db34639..ef8d2d618d5b 100644 > > > --- a/include/linux/nfs4.h > > > +++ b/include/linux/nfs4.h > > > @@ -869,4 +869,26 @@ enum { > > > RCA4_TYPE_MASK_OTHER_LAYOUT_MAX = 15, > > > }; > > > > > > +enum nfs_cb_opnum4 { > > > + OP_CB_GETATTR = 3, > > > + OP_CB_RECALL = 4, > > > + > > > + /* Callback operations new to NFSv4.1 */ > > > + OP_CB_LAYOUTRECALL = 5, > > > + OP_CB_NOTIFY = 6, > > > + OP_CB_PUSH_DELEG = 7, > > > + OP_CB_RECALL_ANY = 8, > > > + OP_CB_RECALLABLE_OBJ_AVAIL = 9, > > > + OP_CB_RECALL_SLOT = 10, > > > + OP_CB_SEQUENCE = 11, > > > + OP_CB_WANTS_CANCELLED = 12, > > > + OP_CB_NOTIFY_LOCK = 13, > > > + OP_CB_NOTIFY_DEVICEID = 14, > > > + > > > + /* Callback operations new to NFSv4.2 */ > > > + OP_CB_OFFLOAD = 15, > > > + > > > + OP_CB_ILLEGAL = 10044, > > > +}; > > > + > > > #endif > > > -- > > > 2.34.1 > > > > > > > > > > -- > > Chuck Lever -- Chuck Lever