diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2010-03-02 11:04:06 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2010-03-06 15:02:08 -0500 |
commit | efc4bb4fdd09c11f5558446e584a494c6feb43c7 (patch) | |
tree | 2eacda55996d59bd5c3a44bf56001f3d94e9cacc /fs/nfsd/nfsd.h | |
parent | f013574014816c7a557b3c52233f3620463f0b9b (diff) |
nfsd4: allow setting grace period time
Allow explicit configuration of the grace period time as well as the
lease period time.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/nfsd.h')
-rw-r--r-- | fs/nfsd/nfsd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfsd.h b/fs/nfsd/nfsd.h index b463093af255..72377761270e 100644 --- a/fs/nfsd/nfsd.h +++ b/fs/nfsd/nfsd.h | |||
@@ -228,6 +228,7 @@ extern struct timeval nfssvc_boot; | |||
228 | #ifdef CONFIG_NFSD_V4 | 228 | #ifdef CONFIG_NFSD_V4 |
229 | 229 | ||
230 | extern time_t nfsd4_lease; | 230 | extern time_t nfsd4_lease; |
231 | extern time_t nfsd4_grace; | ||
231 | 232 | ||
232 | /* before processing a COMPOUND operation, we have to check that there | 233 | /* before processing a COMPOUND operation, we have to check that there |
233 | * is enough space in the buffer for XDR encode to succeed. otherwise, | 234 | * is enough space in the buffer for XDR encode to succeed. otherwise, |