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
Date: Fri, 13 Oct 2023 14:12:40 +0800 (GMT+08:00) [thread overview]
Message-ID: <75e4607f.958.18b27aa63f8.Coremail.chenguohua@jari.cn> (raw)
Fix the following errors reported by checkpatch:
ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: GuoHua Cheng <chenguohua@jari.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
reply other threads:[~2023-10-13 6:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=75e4607f.958.18b27aa63f8.Coremail.chenguohua@jari.cn \
--to=chenguohua@jari.cn \
--cc=Dai.Ngo@oracle.com \
--cc=chuck.lever@oracle.com \
--cc=jlayton@kernel.org \
--cc=kolga@netapp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
--cc=neilb@suse.de \
--cc=tom@talpey.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox