]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4d6b9a742ddeef88addfc47678910bcf54ec5a2e
treeb33e902da4078218c7246646aecb50ad6658660a
parent772177a1fdef67ad25358bdf7e747262d110cf33
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