mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 22:54:05 +08:00
[PATCH] xdr annotations: mount_clnt
[pulled from Alexey's patch] 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
bc4785cd47
commit
d21ec0c33d
@ -95,7 +95,7 @@ mnt_create(char *hostname, struct sockaddr_in *srvaddr, int version,
|
||||
* XDR encode/decode functions for MOUNT
|
||||
*/
|
||||
static int
|
||||
xdr_encode_dirpath(struct rpc_rqst *req, u32 *p, const char *path)
|
||||
xdr_encode_dirpath(struct rpc_rqst *req, __be32 *p, const char *path)
|
||||
{
|
||||
p = xdr_encode_string(p, path);
|
||||
|
||||
@ -104,7 +104,7 @@ xdr_encode_dirpath(struct rpc_rqst *req, u32 *p, const char *path)
|
||||
}
|
||||
|
||||
static int
|
||||
xdr_decode_fhstatus(struct rpc_rqst *req, u32 *p, struct mnt_fhstatus *res)
|
||||
xdr_decode_fhstatus(struct rpc_rqst *req, __be32 *p, struct mnt_fhstatus *res)
|
||||
{
|
||||
struct nfs_fh *fh = res->fh;
|
||||
|
||||
@ -116,7 +116,7 @@ xdr_decode_fhstatus(struct rpc_rqst *req, u32 *p, struct mnt_fhstatus *res)
|
||||
}
|
||||
|
||||
static int
|
||||
xdr_decode_fhstatus3(struct rpc_rqst *req, u32 *p, struct mnt_fhstatus *res)
|
||||
xdr_decode_fhstatus3(struct rpc_rqst *req, __be32 *p, struct mnt_fhstatus *res)
|
||||
{
|
||||
struct nfs_fh *fh = res->fh;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user