From: Trond Myklebust Date: Thu, 4 Jun 2015 17:51:13 +0000 (-0400) Subject: NFSv4: nfs4_handle_delegation_recall_error should ignore EAGAIN X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8eee52af27b96047894bd18649102a0d2de3c3bb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git NFSv4: nfs4_handle_delegation_recall_error should ignore EAGAIN 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 --- diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 55e1e3af23a3..d25de2ab12fb 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -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: