]> git.karo-electronics.de Git - mv-sheeva.git/commit
nfs41: nfs41_setup_state_renewal
authorRicardo Labiaga <Ricardo.Labiaga@netapp.com>
Sun, 6 Dec 2009 17:23:46 +0000 (12:23 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 6 Dec 2009 17:23:46 +0000 (12:23 -0500)
commit9430fb6b5315f7bc94b05be915c64ebfefc55bbc
treebdd930aef91eb7ef954a51919ee2fecae8044e01
parentbcb56164ceb21317208eee89c829580d51b84a6d
nfs41: nfs41_setup_state_renewal

Move call to get the lease time and the setup of the state
renewal out of nfs4_create_session so that it can be called
after clearing the DRAINING flag.  We use the getattr RPC
to obtain the lease time, which requires a sequence slot.

Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4_fs.h
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c