https://github.com/torvalds/linux
Revision 0400a6b0cb756f976bae32ae8db47bfa9853897c authored by Trond Myklebust on 09 March 2011, 21:00:53 UTC, committed by Trond Myklebust on 11 March 2011, 20:18:22 UTC
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>
1 parent c34c32e
History
Tip revision: 0400a6b0cb756f976bae32ae8db47bfa9853897c authored by Trond Myklebust on 09 March 2011, 21:00:53 UTC
NFSv4/4.1: Fix nfs4_schedule_state_recovery abuses
Tip revision: 0400a6b
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 941 bytes
.mailmap -rw-r--r-- 4.0 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.7 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 187.4 KB
Makefile -rw-r--r-- 50.9 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top