From patchwork Fri Oct 13 06:12:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: chenguohua@jari.cn X-Patchwork-Id: 13420171 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40ABECDB47E for ; Fri, 13 Oct 2023 06:14:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229679AbjJMGOd (ORCPT ); Fri, 13 Oct 2023 02:14:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjJMGOc (ORCPT ); Fri, 13 Oct 2023 02:14:32 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 77F5395; Thu, 12 Oct 2023 23:14:29 -0700 (PDT) Received: from chenguohua$jari.cn ( [182.148.14.172] ) by ajax-webmail-localhost.localdomain (Coremail) ; Fri, 13 Oct 2023 14:12:40 +0800 (GMT+08:00) X-Originating-IP: [182.148.14.172] Date: Fri, 13 Oct 2023 14:12:40 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: chenguohua@jari.cn To: chuck.lever@oracle.com, jlayton@kernel.org, neilb@suse.de, kolga@netapp.com, Dai.Ngo@oracle.com, tom@talpey.com Cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] nfsd: Clean up errors in export.h X-Priority: 3 X-Mailer: Coremail Webmail Server Version 2023.1-cmXT6 build 20230419(ff23bf83) Copyright (c) 2002-2023 www.mailtech.cn mispb-4e503810-ca60-4ec8-a188-7102c18937cf-zhkzyfz.cn MIME-Version: 1.0 Message-ID: <75e4607f.958.18b27aa63f8.Coremail.chenguohua@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwBn+D3Y3yhlsNvBAA--.689W X-CM-SenderInfo: xfkh0w5xrk3tw6md2xgofq/1tbiAQADEWUnvzMAJgADs4 X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Fix the following errors reported by checkpatch: ERROR: "foo * bar" should be "foo *bar" Signed-off-by: GuoHua Cheng --- fs/nfsd/export.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/fs/nfsd/export.h b/fs/nfsd/export.h index 2df8ae25aad3..d4ed324ab120 100644 --- a/fs/nfsd/export.h +++ b/fs/nfsd/export.h @@ -62,13 +62,13 @@ struct export_stats { struct svc_export { struct cache_head h; - struct auth_domain * ex_client; + struct auth_domain *ex_client; int ex_flags; struct path ex_path; kuid_t ex_anon_uid; kgid_t ex_anon_gid; int ex_fsid; - unsigned char * ex_uuid; /* 16 byte fsid */ + unsigned char *ex_uuid; /* 16 byte fsid */ struct nfsd4_fs_locations ex_fslocs; uint32_t ex_nflavors; struct exp_flavor_info ex_flavors[MAX_SECINFO_LIST]; @@ -87,7 +87,7 @@ struct svc_export { struct svc_expkey { struct cache_head h; - struct auth_domain * ek_client; + struct auth_domain *ek_client; int ek_fsidtype; u32 ek_fsid[6]; @@ -108,11 +108,11 @@ __be32 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp); int nfsd_export_init(struct net *); void nfsd_export_shutdown(struct net *); void nfsd_export_flush(struct net *); -struct svc_export * rqst_exp_get_by_name(struct svc_rqst *, +struct svc_export *rqst_exp_get_by_name(struct svc_rqst *, struct path *); -struct svc_export * rqst_exp_parent(struct svc_rqst *, +struct svc_export *rqst_exp_parent(struct svc_rqst *, struct path *); -struct svc_export * rqst_find_fsidzero_export(struct svc_rqst *); +struct svc_export *rqst_find_fsidzero_export(struct svc_rqst *); int exp_rootfh(struct net *, struct auth_domain *, char *path, struct knfsd_fh *, int maxsize); __be32 exp_pseudoroot(struct svc_rqst *, struct svc_fh *); @@ -127,6 +127,6 @@ static inline struct svc_export *exp_get(struct svc_export *exp) cache_get(&exp->h); return exp; } -struct svc_export * rqst_exp_find(struct svc_rqst *, int, u32 *); +struct svc_export *rqst_exp_find(struct svc_rqst *, int, u32 *); #endif /* NFSD_EXPORT_H */