diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2010-03-01 19:43:02 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2010-03-06 15:02:03 -0500 |
commit | f958a1320ff7a1e0e861d3c90de6da12a88839dc (patch) | |
tree | 32ab7959a6bf6c6062634eb2a10ba1cbaf6451bb /fs/nfsd/nfs4state.c | |
parent | e46b498c84163e86e2627c30bca298c968664f65 (diff) |
nfsd4: remove unnecessary lease-setting function
This is another layer of indirection that doesn't really buy us
anything.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r-- | fs/nfsd/nfs4state.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index eb8d124ec14d..4471046e19e0 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -4115,15 +4115,3 @@ nfs4_recoverydir(void) | |||
4115 | { | 4115 | { |
4116 | return user_recovery_dirname; | 4116 | return user_recovery_dirname; |
4117 | } | 4117 | } |
4118 | |||
4119 | /* | ||
4120 | * Called when leasetime is changed. | ||
4121 | * | ||
4122 | * nfsd4_lease is protected by nfsd_mutex since it's only really accessed | ||
4123 | * when nfsd is starting | ||
4124 | */ | ||
4125 | void | ||
4126 | nfs4_reset_lease(time_t leasetime) | ||
4127 | { | ||
4128 | nfsd4_lease = leasetime; | ||
4129 | } | ||