NFSv4: Don't error if we handled it in nfs4_recovery_handle_error
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 1 Dec 2011 21:31:34 +0000 (16:31 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 1 Dec 2011 21:31:34 +0000 (16:31 -0500)
commit4f38e4aadcca319650c0de31edf7193d7c384de2
treeb33e902da4078218c7246646aecb50ad6658660a
parentc25573b5134294c0be82bfaecc6d08136835b271
NFSv4: Don't error if we handled it in nfs4_recovery_handle_error

If we handled an error condition, then nfs4_recovery_handle_error should
return '0' so that the state recovery thread can continue.
Also ensure that nfs4_check_lease() continues to abort if we haven't got
any credentials by having it return ENOKEY (which is not handled).

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4state.c