aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2009-12-04 15:55:35 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-04 15:55:35 -0500
commit2628eddff15cb38b7246d5c18e2f7dc3e2c0d0c2 (patch)
tree99dc69d8bc07eb09f239a3635de1657254badc9e /fs/nfs/nfs4proc.c
parent8ba9bf8e5160b0b4ebc56f64ad445c6c0ecdac1d (diff)
nfs41: don't clear tk_action on success
Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index d0cb7cb367c1..68463d0ba9b3 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -534,7 +534,7 @@ int nfs4_setup_sequence(struct nfs_client *clp,
534 goto out; 534 goto out;
535 ret = nfs41_setup_sequence(clp->cl_session, args, res, cache_reply, 535 ret = nfs41_setup_sequence(clp->cl_session, args, res, cache_reply,
536 task); 536 task);
537 if (ret != -EAGAIN) { 537 if (ret && ret != -EAGAIN) {
538 /* terminate rpc task */ 538 /* terminate rpc task */
539 task->tk_status = ret; 539 task->tk_status = ret;
540 task->tk_action = NULL; 540 task->tk_action = NULL;