diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-11-27 15:11:44 +0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-11-28 19:39:46 +0400 |
commit | 3d7337115d06f21970e23684f4d2e62e3a44c572 (patch) | |
tree | 08701fd0025986ff1b0ec6d70022189c000876c3 /fs/nfsd/netns.h | |
parent | 864aee5c6f90533984c356494e6b0a8070e5d5f2 (diff) | |
download | linux-3d7337115d06f21970e23684f4d2e62e3a44c572.tar.xz |
nfsd: make NFSv4 lease time per net
Lease time is a part of NFSv4 state engine, which is constructed per network
namespace.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/netns.h')
-rw-r--r-- | fs/nfsd/netns.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h index 9047706b3e10..0c20be82cb01 100644 --- a/fs/nfsd/netns.h +++ b/fs/nfsd/netns.h @@ -87,6 +87,8 @@ struct nfsd_net { struct file *rec_file; bool in_grace; + + time_t nfsd4_lease; }; extern int nfsd_net_id; |