nfsd4: stop using nfserr_resource for transitory errors
commit80931f71f0e7c151aa260590c655d536c967af56
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 10 Aug 2011 23:07:33 +0000 (10 19:07 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:35:55 +0000 (11 09:35 -0800)
treee57ca89820e7aed6757d9fc02230ac3b47242e59
parent6176ebe5391aa20700f9348fa7f7aca1a559e78f
nfsd4: stop using nfserr_resource for transitory errors

commit 3e77246393c0a433247631a1f0e9ec98d3d78a1c upstream.

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.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4recover.c
fs/nfsd/nfs4state.c