NFSv4: Cleanup the setting of the nfs4 lease period
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 5 Aug 2016 23:13:08 +0000 (19:13 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 5 Aug 2016 23:13:08 +0000 (19:13 -0400)
commitfb10fb67ad2ce43d5e5b8ad22d2ba826844acc56
tree064464ced54bf3ba95a85fe2849fa15b94fe2cfc
parent3851f1cdb2b8d507b10395fc110d4c37d6121285
NFSv4: Cleanup the setting of the nfs4 lease period

Make a helper function nfs4_set_lease_period() and have
nfs41_setup_state_renewal() and nfs4_do_fsinfo() use it.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4_fs.h
fs/nfs/nfs4proc.c
fs/nfs/nfs4renewd.c
fs/nfs/nfs4state.c