diff options
Diffstat (limited to 'fs/lockd/mon.c')
-rw-r--r-- | fs/lockd/mon.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/lockd/mon.c b/fs/lockd/mon.c index e0179f8c327f..eb243edf8932 100644 --- a/fs/lockd/mon.c +++ b/fs/lockd/mon.c | |||
@@ -148,8 +148,8 @@ nsm_create(void) | |||
148 | * XDR functions for NSM. | 148 | * XDR functions for NSM. |
149 | */ | 149 | */ |
150 | 150 | ||
151 | static u32 * | 151 | static __be32 * |
152 | xdr_encode_common(struct rpc_rqst *rqstp, u32 *p, struct nsm_args *argp) | 152 | xdr_encode_common(struct rpc_rqst *rqstp, __be32 *p, struct nsm_args *argp) |
153 | { | 153 | { |
154 | char buffer[20], *name; | 154 | char buffer[20], *name; |
155 | 155 | ||
@@ -176,7 +176,7 @@ xdr_encode_common(struct rpc_rqst *rqstp, u32 *p, struct nsm_args *argp) | |||
176 | } | 176 | } |
177 | 177 | ||
178 | static int | 178 | static int |
179 | xdr_encode_mon(struct rpc_rqst *rqstp, u32 *p, struct nsm_args *argp) | 179 | xdr_encode_mon(struct rpc_rqst *rqstp, __be32 *p, struct nsm_args *argp) |
180 | { | 180 | { |
181 | p = xdr_encode_common(rqstp, p, argp); | 181 | p = xdr_encode_common(rqstp, p, argp); |
182 | if (IS_ERR(p)) | 182 | if (IS_ERR(p)) |
@@ -192,7 +192,7 @@ xdr_encode_mon(struct rpc_rqst *rqstp, u32 *p, struct nsm_args *argp) | |||
192 | } | 192 | } |
193 | 193 | ||
194 | static int | 194 | static int |
195 | xdr_encode_unmon(struct rpc_rqst *rqstp, u32 *p, struct nsm_args *argp) | 195 | xdr_encode_unmon(struct rpc_rqst *rqstp, __be32 *p, struct nsm_args *argp) |
196 | { | 196 | { |
197 | p = xdr_encode_common(rqstp, p, argp); | 197 | p = xdr_encode_common(rqstp, p, argp); |
198 | if (IS_ERR(p)) | 198 | if (IS_ERR(p)) |
@@ -202,7 +202,7 @@ xdr_encode_unmon(struct rpc_rqst *rqstp, u32 *p, struct nsm_args *argp) | |||
202 | } | 202 | } |
203 | 203 | ||
204 | static int | 204 | static int |
205 | xdr_decode_stat_res(struct rpc_rqst *rqstp, u32 *p, struct nsm_res *resp) | 205 | xdr_decode_stat_res(struct rpc_rqst *rqstp, __be32 *p, struct nsm_res *resp) |
206 | { | 206 | { |
207 | resp->status = ntohl(*p++); | 207 | resp->status = ntohl(*p++); |
208 | resp->state = ntohl(*p++); | 208 | resp->state = ntohl(*p++); |
@@ -212,7 +212,7 @@ xdr_decode_stat_res(struct rpc_rqst *rqstp, u32 *p, struct nsm_res *resp) | |||
212 | } | 212 | } |
213 | 213 | ||
214 | static int | 214 | static int |
215 | xdr_decode_stat(struct rpc_rqst *rqstp, u32 *p, struct nsm_res *resp) | 215 | xdr_decode_stat(struct rpc_rqst *rqstp, __be32 *p, struct nsm_res *resp) |
216 | { | 216 | { |
217 | resp->state = ntohl(*p++); | 217 | resp->state = ntohl(*p++); |
218 | return 0; | 218 | return 0; |