summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-07-25 16:57:45 +0400
committerJ. Bruce Fields <bfields@redhat.com>2012-07-27 16:49:22 -0400
commit2c142baa7b237584bae7dc28630851701497e1ef (patch)
tree6c86fcd0b7fa47e8040fab51aecd306fe2f01174 /fs/nfsd/netns.h
parenta51c84ed502c25fed996afb7696fd7db2fa32fe2 (diff)
downloadop-kernel-dev-2c142baa7b237584bae7dc28630851701497e1ef.zip
op-kernel-dev-2c142baa7b237584bae7dc28630851701497e1ef.tar.gz
NFSd: make boot_time variable per network namespace
NFSd's boot_time represents grace period start point in time. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h
index b6deebd..65c2431 100644
--- a/fs/nfsd/netns.h
+++ b/fs/nfsd/netns.h
@@ -37,6 +37,7 @@ struct nfsd_net {
struct lock_manager nfsd4_manager;
bool grace_ended;
+ time_t boot_time;
};
extern int nfsd_net_id;
OpenPOWER on IntegriCloud