nfsd4: stop using nfserr_resource for transitory errors
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 10 Aug 2011 23:07:33 +0000 (19:07 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Sat, 27 Aug 2011 18:21:21 +0000 (14:21 -0400)
commit3e77246393c0a433247631a1f0e9ec98d3d78a1c
tree34cc29296ecb2d5a74706c140fec51f03d4b578a
parent6577aac01f00636c16cd583c30bd4dedf18475d5
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>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4recover.c
fs/nfsd/nfs4state.c