NFSv4: Update list of irrecoverable errors on DELEGRETURN
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 19 Nov 2013 21:34:14 +0000 (16:34 -0500)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 3 Jan 2014 04:33:23 +0000 (04:33 +0000)
commit3b327af6ff9f42a44ee4690860b34b76308d90e4
treecce84863666190f5a62fc56cab889e0bc06783cd
parenta687a58fd0fa69d405d777eba5f23a0c00cce2e7
NFSv4: Update list of irrecoverable errors on DELEGRETURN

commit c97cf606e43b85a6cf158b810375dd77312024db upstream.

If the DELEGRETURN errors out with something like NFS4ERR_BAD_STATEID
then there is no recovery possible. Just quit without returning an error.

Also, note that the client must not assume that the NFSv4 lease has been
renewed when it sees an error on DELEGRETURN.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/nfs/nfs4proc.c