NFSv4/4.1: Fix nfs4_schedule_state_recovery abuses
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 9 Mar 2011 21:00:53 +0000 (16:00 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 11 Mar 2011 20:18:22 +0000 (15:18 -0500)
nfs4_schedule_state_recovery() should only be used when we need to force
the state manager to check the lease. If we just want to start the
state manager in order to handle a state recovery situation, we should be
using nfs4_schedule_state_manager().

This patch fixes the abuses of nfs4_schedule_state_recovery() by replacing
its use with a set of helper functions that do the right thing.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found