mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 00:51:35 +00:00
[PATCH] nfsd: misc endianness annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Trond Myklebust <trond.myklebust@fys.uio.no> Acked-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
f00f328fda
commit
c7afef1f96
11 changed files with 18 additions and 18 deletions
|
@ -26,14 +26,14 @@ struct svc_cacherep {
|
|||
c_type, /* status, buffer */
|
||||
c_secure : 1; /* req came from port < 1024 */
|
||||
struct sockaddr_in c_addr;
|
||||
u32 c_xid;
|
||||
__be32 c_xid;
|
||||
u32 c_prot;
|
||||
u32 c_proc;
|
||||
u32 c_vers;
|
||||
unsigned long c_timestamp;
|
||||
union {
|
||||
struct kvec u_vec;
|
||||
u32 u_status;
|
||||
__be32 u_status;
|
||||
} c_u;
|
||||
};
|
||||
|
||||
|
@ -75,7 +75,7 @@ enum {
|
|||
void nfsd_cache_init(void);
|
||||
void nfsd_cache_shutdown(void);
|
||||
int nfsd_cache_lookup(struct svc_rqst *, int);
|
||||
void nfsd_cache_update(struct svc_rqst *, int, u32 *);
|
||||
void nfsd_cache_update(struct svc_rqst *, int, __be32 *);
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
#endif /* NFSCACHE_H */
|
||||
|
|
|
@ -117,7 +117,7 @@ struct svc_export * exp_parent(struct auth_domain *clp,
|
|||
struct cache_req *reqp);
|
||||
int exp_rootfh(struct auth_domain *,
|
||||
char *path, struct knfsd_fh *, int maxsize);
|
||||
int exp_pseudoroot(struct auth_domain *, struct svc_fh *fhp, struct cache_req *creq);
|
||||
__be32 exp_pseudoroot(struct auth_domain *, struct svc_fh *fhp, struct cache_req *creq);
|
||||
__be32 nfserrno(int errno);
|
||||
|
||||
extern struct cache_detail svc_export_cache;
|
||||
|
|
|
@ -64,7 +64,7 @@ extern struct svc_serv *nfsd_serv;
|
|||
* Function prototypes.
|
||||
*/
|
||||
int nfsd_svc(unsigned short port, int nrservs);
|
||||
int nfsd_dispatch(struct svc_rqst *rqstp, u32 *statp);
|
||||
int nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp);
|
||||
|
||||
/* nfsd/vfs.c */
|
||||
int fh_lock_parent(struct svc_fh *, struct dentry *);
|
||||
|
|
|
@ -157,7 +157,7 @@ typedef struct svc_fh {
|
|||
__u64 fh_post_size; /* i_size */
|
||||
unsigned long fh_post_blocks; /* i_blocks */
|
||||
unsigned long fh_post_blksize;/* i_blksize */
|
||||
__u32 fh_post_rdev[2];/* i_rdev */
|
||||
__be32 fh_post_rdev[2];/* i_rdev */
|
||||
struct timespec fh_post_atime; /* i_atime */
|
||||
struct timespec fh_post_mtime; /* i_mtime */
|
||||
struct timespec fh_post_ctime; /* i_ctime */
|
||||
|
|
|
@ -125,7 +125,7 @@ struct nfs4_client {
|
|||
char cl_recdir[HEXDIR_LEN]; /* recovery dir */
|
||||
nfs4_verifier cl_verifier; /* generated by client */
|
||||
time_t cl_time; /* time of last lease renewal */
|
||||
u32 cl_addr; /* client ipaddress */
|
||||
__be32 cl_addr; /* client ipaddress */
|
||||
struct svc_cred cl_cred; /* setclientid principal */
|
||||
clientid_t cl_clientid; /* generated by server */
|
||||
nfs4_verifier cl_confirm; /* generated by server */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue