• Trond Myklebust's avatar
    NFSv4/4.1: Fix nfs4_schedule_state_recovery abuses · 0400a6b0
    Trond Myklebust authored
    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: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
    0400a6b0
nfs4proc.c 150 KB