]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
NFSv4: Fix up the callers of nfs4_state_end_reclaim_reboot
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 3 Dec 2009 20:52:41 +0000 (15:52 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Feb 2012 19:28:48 +0000 (11:28 -0800)
commitfe6077930e9cab73db89a236447c0fe918854798
tree8f3672e4cb222ce8d292454821708be7805ed6f6
parent09948a33e414f5745823d838d43ed0a77213e928
NFSv4: Fix up the callers of nfs4_state_end_reclaim_reboot

commit e345e88a774875cec26e097ea3ff2dc40c4f9da2 upstream.

In practice, we need to ensure that we call nfs4_state_end_reclaim_reboot
in 2 cases:

 - If we lose the lease while we were reclaiming state
OR
 - After we're done with reboot recovery

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs4state.c