summaryrefslogtreecommitdiff
path: root/fs/nfs
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
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')
-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,
goto out;
ret = nfs41_setup_sequence(clp->cl_session, args, res, cache_reply,
task);
- if (ret != -EAGAIN) {
+ if (ret && ret != -EAGAIN) {
/* terminate rpc task */
task->tk_status = ret;
task->tk_action = NULL;