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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Dec 2013 06:36:27 +0000 (22:36 -0800)
commit0d08c381362aca8ef20c7fe1fa4c1ce36728208b
treef2ed133337dea20c98fcc3ffd24e4608ead6eb65
parent9fac703e99f250d6c8ff9caf306d1160bbf90064
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs4proc.c