From: Andy Adamson Date: Fri, 4 Dec 2009 20:55:35 +0000 (-0500) Subject: nfs41: don't clear tk_action on success X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2628eddff15cb38b7246d5c18e2f7dc3e2c0d0c2;p=linux-beck.git nfs41: don't clear tk_action on success Signed-off-by: Andy Adamson Signed-off-by: Trond Myklebust --- 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;