nfsd: make NFSv4 grace time per net

Grace 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>
This commit is contained in:
Stanislav Kinsbursky
2012-11-27 14:11:49 +03:00
committed by J. Bruce Fields
parent 3d7337115d
commit 5284b44e43
4 changed files with 7 additions and 9 deletions

View File

@@ -89,6 +89,7 @@ struct nfsd_net {
bool in_grace;
time_t nfsd4_lease;
time_t nfsd4_grace;
};
extern int nfsd_net_id;