NFSv4: nfs4_handle_delegation_recall_error should ignore EAGAIN
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 4 Jun 2015 17:51:13 +0000 (13:51 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 4 Jun 2015 17:51:13 +0000 (13:51 -0400)
EAGAIN is a valid return code from nfs4_open_recover(), and should
be handled by nfs4_handle_delegation_recall_error by simply passing
it through.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c

index 55e1e3af23a3d3f2313f977b185eb8c3f8ccbc6d..d25de2ab12fb05cc96905063806ef754b6359fc3 100644 (file)
@@ -1684,6 +1684,7 @@ static int nfs4_handle_delegation_recall_error(struct nfs_server *server, struct
                                        "%d.\n", __func__, err);
                case 0:
                case -ENOENT:
+               case -EAGAIN:
                case -ESTALE:
                        break;
                case -NFS4ERR_BADSESSION: