forked from Minki/linux
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>
This commit is contained in:
parent
8ba9bf8e51
commit
2628eddff1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user