diff options
Diffstat (limited to 'net/sunrpc/svcauth.c')
| -rw-r--r-- | net/sunrpc/svcauth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/svcauth.c b/net/sunrpc/svcauth.c index 5b28c6176806..8f2320aded5c 100644 --- a/net/sunrpc/svcauth.c +++ b/net/sunrpc/svcauth.c | |||
| @@ -35,14 +35,14 @@ static struct auth_ops *authtab[RPC_AUTH_MAXFLAVOR] = { | |||
| 35 | }; | 35 | }; |
| 36 | 36 | ||
| 37 | int | 37 | int |
| 38 | svc_authenticate(struct svc_rqst *rqstp, u32 *authp) | 38 | svc_authenticate(struct svc_rqst *rqstp, __be32 *authp) |
| 39 | { | 39 | { |
| 40 | rpc_authflavor_t flavor; | 40 | rpc_authflavor_t flavor; |
| 41 | struct auth_ops *aops; | 41 | struct auth_ops *aops; |
| 42 | 42 | ||
| 43 | *authp = rpc_auth_ok; | 43 | *authp = rpc_auth_ok; |
| 44 | 44 | ||
| 45 | flavor = ntohl(svc_getu32(&rqstp->rq_arg.head[0])); | 45 | flavor = svc_getnl(&rqstp->rq_arg.head[0]); |
| 46 | 46 | ||
| 47 | dprintk("svc: svc_authenticate (%d)\n", flavor); | 47 | dprintk("svc: svc_authenticate (%d)\n", flavor); |
| 48 | 48 | ||
