diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-10-20 02:28:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-20 13:26:41 -0400 |
commit | d21ec0c33d0a9eb7a6f6c716008863a97797709e (patch) | |
tree | 0a553986ba193eb4ec2f8e8952439ab0b9fa3d9f /fs/nfs | |
parent | bc4785cd475a11ba125df7af674e16c6ea1cfc30 (diff) |
[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>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/mount_clnt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/mount_clnt.c b/fs/nfs/mount_clnt.c index d507b021207f..f75fe72b4160 100644 --- a/fs/nfs/mount_clnt.c +++ b/fs/nfs/mount_clnt.c | |||
@@ -95,7 +95,7 @@ mnt_create(char *hostname, struct sockaddr_in *srvaddr, int version, | |||
95 | * XDR encode/decode functions for MOUNT | 95 | * XDR encode/decode functions for MOUNT |
96 | */ | 96 | */ |
97 | static int | 97 | static int |
98 | xdr_encode_dirpath(struct rpc_rqst *req, u32 *p, const char *path) | 98 | xdr_encode_dirpath(struct rpc_rqst *req, __be32 *p, const char *path) |
99 | { | 99 | { |
100 | p = xdr_encode_string(p, path); | 100 | p = xdr_encode_string(p, path); |
101 | 101 | ||
@@ -104,7 +104,7 @@ xdr_encode_dirpath(struct rpc_rqst *req, u32 *p, const char *path) | |||
104 | } | 104 | } |
105 | 105 | ||
106 | static int | 106 | static int |
107 | xdr_decode_fhstatus(struct rpc_rqst *req, u32 *p, struct mnt_fhstatus *res) | 107 | xdr_decode_fhstatus(struct rpc_rqst *req, __be32 *p, struct mnt_fhstatus *res) |
108 | { | 108 | { |
109 | struct nfs_fh *fh = res->fh; | 109 | struct nfs_fh *fh = res->fh; |
110 | 110 | ||
@@ -116,7 +116,7 @@ xdr_decode_fhstatus(struct rpc_rqst *req, u32 *p, struct mnt_fhstatus *res) | |||
116 | } | 116 | } |
117 | 117 | ||
118 | static int | 118 | static int |
119 | xdr_decode_fhstatus3(struct rpc_rqst *req, u32 *p, struct mnt_fhstatus *res) | 119 | xdr_decode_fhstatus3(struct rpc_rqst *req, __be32 *p, struct mnt_fhstatus *res) |
120 | { | 120 | { |
121 | struct nfs_fh *fh = res->fh; | 121 | struct nfs_fh *fh = res->fh; |
122 | 122 | ||