summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4recover.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2011-08-11 01:07:33 +0200
committerJ. Bruce Fields <bfields@redhat.com>2011-08-27 20:21:21 +0200
commit3e77246393c0a433247631a1f0e9ec98d3d78a1c (patch)
tree34cc29296ecb2d5a74706c140fec51f03d4b578a /fs/nfsd/nfs4recover.c
parentnfsd4: fix failure to end nfsd4 grace period (diff)
downloadlinux-3e77246393c0a433247631a1f0e9ec98d3d78a1c.tar.xz
linux-3e77246393c0a433247631a1f0e9ec98d3d78a1c.zip
nfsd4: stop using nfserr_resource for transitory errors
The server is returning nfserr_resource for both permanent errors and for errors (like allocation failures) that might be resolved by retrying later. Save nfserr_resource for the former and use delay/jukebox for the latter. Cc: stable@kernel.org Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4recover.c')
-rw-r--r--fs/nfsd/nfs4recover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4recover.c b/fs/nfsd/nfs4recover.c
index 493851b844fe..ed083b9a731b 100644
--- a/fs/nfsd/nfs4recover.c
+++ b/fs/nfsd/nfs4recover.c
@@ -89,7 +89,7 @@ nfs4_make_rec_clidname(char *dname, struct xdr_netobj *clname)
struct xdr_netobj cksum;
struct hash_desc desc;
struct scatterlist sg;
- __be32 status = nfserr_resource;
+ __be32 status = nfserr_jukebox;
dprintk("NFSD: nfs4_make_rec_clidname for %.*s\n",
clname->len, clname->data);