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/nfs4state.c | |
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/nfs4state.c')
-rw-r--r-- | fs/nfsd/nfs4state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 4471046e19e0..6edfe23694e6 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -45,7 +45,7 @@ | |||
45 | 45 | ||
46 | /* Globals */ | 46 | /* Globals */ |
47 | time_t nfsd4_lease = 90; /* default lease time */ | 47 | time_t nfsd4_lease = 90; /* default lease time */ |
48 | static time_t nfsd4_grace = 90; | 48 | time_t nfsd4_grace = 90; |
49 | static time_t boot_time; | 49 | static time_t boot_time; |
50 | static u32 current_ownerid = 1; | 50 | static u32 current_ownerid = 1; |
51 | static u32 current_fileid = 1; | 51 | static u32 current_fileid = 1; |