nfsd: Fix up nfsd to ensure that timeout errors don't result in ESTALE
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 30 Nov 2020 22:03:18 +0000 (17:03 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Wed, 9 Dec 2020 14:39:38 +0000 (09:39 -0500)
commit2e19d10c1438241de32467637a2a411971547991
tree6e86240c261ca922b91cb3eb652537b89fa54c14
parentd045465fc6cbfa4acfb5a7d817a7c1a57a078109
nfsd: Fix up nfsd to ensure that timeout errors don't result in ESTALE

If the underlying filesystem times out, then we want knfsd to return
NFSERR_JUKEBOX/DELAY rather than NFSERR_STALE.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfsfh.c