Skip to content
Commit 0400a6b0 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4/4.1: Fix nfs4_schedule_state_recovery abuses



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>
parent c34c32ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment