diff options
Diffstat (limited to 'net/sunrpc/auth.c')
-rw-r--r-- | net/sunrpc/auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/auth.c b/net/sunrpc/auth.c index cb216b2df666..6e28744b1709 100644 --- a/net/sunrpc/auth.c +++ b/net/sunrpc/auth.c | |||
@@ -513,7 +513,7 @@ rpcauth_wrap_req(struct rpc_task *task, kxdrproc_t encode, void *rqstp, | |||
513 | if (cred->cr_ops->crwrap_req) | 513 | if (cred->cr_ops->crwrap_req) |
514 | return cred->cr_ops->crwrap_req(task, encode, rqstp, data, obj); | 514 | return cred->cr_ops->crwrap_req(task, encode, rqstp, data, obj); |
515 | /* By default, we encode the arguments normally. */ | 515 | /* By default, we encode the arguments normally. */ |
516 | return rpc_call_xdrproc(encode, rqstp, data, obj); | 516 | return encode(rqstp, data, obj); |
517 | } | 517 | } |
518 | 518 | ||
519 | int | 519 | int |
@@ -528,7 +528,7 @@ rpcauth_unwrap_resp(struct rpc_task *task, kxdrproc_t decode, void *rqstp, | |||
528 | return cred->cr_ops->crunwrap_resp(task, decode, rqstp, | 528 | return cred->cr_ops->crunwrap_resp(task, decode, rqstp, |
529 | data, obj); | 529 | data, obj); |
530 | /* By default, we decode the arguments normally. */ | 530 | /* By default, we decode the arguments normally. */ |
531 | return rpc_call_xdrproc(decode, rqstp, data, obj); | 531 | return decode(rqstp, data, obj); |
532 | } | 532 | } |
533 | 533 | ||
534 | int | 534 | int |