[<prev] [next>] [day] [month] [year] [list]
Message-ID: <75e4607f.958.18b27aa63f8.Coremail.chenguohua@jari.cn>
Date: Fri, 13 Oct 2023 14:12:40 +0800 (GMT+08:00)
From: chenguohua@...i.cn
To: chuck.lever@...cle.com, jlayton@...nel.org, neilb@...e.de,
kolga@...app.com, Dai.Ngo@...cle.com, tom@...pey.com
Cc: linux-nfs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] nfsd: Clean up errors in export.h
Fix the following errors reported by checkpatch:
ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: GuoHua Cheng <chenguohua@...i.cn>
---
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 */
--
2.17.1
Powered by blists - more mailing lists