diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-12-06 06:23:19 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-12-10 16:25:38 -0500 |
commit | b9c0ef8571c6ae33465dcf41d496ce2ad783c49d (patch) | |
tree | 5216e0d3be135d6b73bb7f2acc539bcf6fffadba /fs/nfsd/netns.h | |
parent | 2c2fe2909e124c32a34dbbb3ac129112524fc540 (diff) |
nfsd: make NFSd service boot time per-net
This is simple: an NFSd service can be started at different times in
different network environments. So, its "boot time" has to be assigned
per net.
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 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h index 543ac486fd5d..3b283eaab10d 100644 --- a/fs/nfsd/netns.h +++ b/fs/nfsd/netns.h | |||
@@ -94,6 +94,11 @@ struct nfsd_net { | |||
94 | time_t nfsd4_grace; | 94 | time_t nfsd4_grace; |
95 | 95 | ||
96 | bool nfsd_net_up; | 96 | bool nfsd_net_up; |
97 | |||
98 | /* | ||
99 | * Time of server startup | ||
100 | */ | ||
101 | struct timeval nfssvc_boot; | ||
97 | }; | 102 | }; |
98 | 103 | ||
99 | /* Simple check to find out if a given net was properly initialized */ | 104 | /* Simple check to find out if a given net was properly initialized */ |