[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
|
* XDR encode/decode functions for MOUNT
|
||||||
*/
|
*/
|
||||||
static int
|
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);
|
p = xdr_encode_string(p, path);
|
||||||
|
|
||||||
|
@ -104,7 +104,7 @@ xdr_encode_dirpath(struct rpc_rqst *req, u32 *p, const char *path)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
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;
|
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
|
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;
|
struct nfs_fh *fh = res->fh;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue