summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/clnt.c
diff options
context:
space:
mode:
authorTrond Myklebust2010-07-31 20:29:08 +0200
committerTrond Myklebust2010-08-04 14:54:08 +0200
commit8572b8e2e3c5f3d990122348c4d2c64dad338611 (patch)
tree5de87a7f2cb1c1105313c0fb1d1f26a969961c83 /net/sunrpc/clnt.c
parentSUNRPC: Move remaining RPC client related task initialisation into clnt.c (diff)
downloadkernel-qcow2-linux-8572b8e2e3c5f3d990122348c4d2c64dad338611.tar.gz
kernel-qcow2-linux-8572b8e2e3c5f3d990122348c4d2c64dad338611.tar.xz
kernel-qcow2-linux-8572b8e2e3c5f3d990122348c4d2c64dad338611.zip
SUNRPC: Clean up of rpc_bindcred()
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/clnt.c')
-rw-r--r--net/sunrpc/clnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c
index 3647c81fd689..f34b5e3823c0 100644
--- a/net/sunrpc/clnt.c
+++ b/net/sunrpc/clnt.c
@@ -606,7 +606,7 @@ rpc_task_set_rpc_message(struct rpc_task *task, const struct rpc_message *msg)
task->tk_msg.rpc_argp = msg->rpc_argp;
task->tk_msg.rpc_resp = msg->rpc_resp;
/* Bind the user cred */
- rpcauth_bindcred(task, msg->rpc_cred, task->tk_flags);
+ task->tk_status = rpcauth_bindcred(task, msg->rpc_cred, task->tk_flags);
}
}