Commit 65c879fb authored by Neil Brown's avatar Neil Brown Committed by Linus Torvalds

[PATCH] knfsd: Handle -EAGAIN from exp_find properly in nfsfh.c

parent c32718fd
...@@ -146,11 +146,11 @@ fh_verify(struct svc_rqst *rqstp, struct svc_fh *fhp, int type, int access) ...@@ -146,11 +146,11 @@ fh_verify(struct svc_rqst *rqstp, struct svc_fh *fhp, int type, int access)
} }
error = nfserr_dropit; error = nfserr_dropit;
if (IS_ERR(exp)) if (IS_ERR(exp) && PTR_ERR(exp) == -EAGAIN)
goto out; goto out;
error = nfserr_stale; error = nfserr_stale;
if (!exp) if (!exp || IS_ERR(exp))
goto out; goto out;
/* Check if the request originated from a secure port. */ /* Check if the request originated from a secure port. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment