From: Marc Eshel <eshel@xxxxxxxxxxxxxxx> FIXME: bhalevy: find out why this is needed. Is this only for debugging? Signed-off-by: Benny Halevy <bhalevy@xxxxxxxxxxx> --- fs/nfsd/nfs4state.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 0e1bc72..dcb075d 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -59,8 +59,13 @@ #define NFSDDBG_FACILITY NFSDDBG_PROC /* Globals */ +#if defined(CONFIG_NFSD_V4_1) +static time_t lease_time = 20; /* default lease time */ +static time_t user_lease_time = 20; +#else /* CONFIG_NFSD_V4_1 */ static time_t lease_time = 90; /* default lease time */ static time_t user_lease_time = 90; +#endif /* CONFIG_NFSD_V4_1 */ static time_t boot_time; static u32 current_ownerid = 1; static u32 current_fileid = 1; -- 1.6.0.2 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html