aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4proc.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2011-08-10 19:07:33 -0400
committerJ. Bruce Fields <bfields@redhat.com>2011-08-27 14:21:21 -0400
commit3e77246393c0a433247631a1f0e9ec98d3d78a1c (patch)
tree34cc29296ecb2d5a74706c140fec51f03d4b578a /fs/nfsd/nfs4proc.c
parent6577aac01f00636c16cd583c30bd4dedf18475d5 (diff)
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/nfs4proc.c')
-rw-r--r--fs/nfsd/nfs4proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index b5530984db91..50bae7471147 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -940,7 +940,7 @@ _nfsd4_verify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
940 count = 4 + (verify->ve_attrlen >> 2); 940 count = 4 + (verify->ve_attrlen >> 2);
941 buf = kmalloc(count << 2, GFP_KERNEL); 941 buf = kmalloc(count << 2, GFP_KERNEL);
942 if (!buf) 942 if (!buf)
943 return nfserr_resource; 943 return nfserr_jukebox;
944 944
945 status = nfsd4_encode_fattr(&cstate->current_fh, 945 status = nfsd4_encode_fattr(&cstate->current_fh,
946 cstate->current_fh.fh_export, 946 cstate->current_fh.fh_export,