diff options
author | Andy Adamson <andros@netapp.com> | 2009-12-04 21:55:35 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-12-04 21:55:35 +0100 |
commit | 2628eddff15cb38b7246d5c18e2f7dc3e2c0d0c2 (patch) | |
tree | 99dc69d8bc07eb09f239a3635de1657254badc9e /fs/nfs/nfs4proc.c | |
parent | nfs41: fix switch in nfs4_recovery_handle_error (diff) | |
download | linux-2628eddff15cb38b7246d5c18e2f7dc3e2c0d0c2.tar.xz linux-2628eddff15cb38b7246d5c18e2f7dc3e2c0d0c2.zip |
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 '')
-rw-r--r-- | fs/nfs/nfs4proc.c | 2 |
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; |