diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-07-25 16:56:11 +0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-07-27 16:48:43 -0400 |
commit | 3cf7fb07e077e599d8343113cf4ef81adb2ca627 (patch) | |
tree | 485476d8e811ca4d75812bde1804f31669e2e977 /fs/lockd/netns.h | |
parent | 27adaddc8de7f523a172246d5104cf1cd5e2191b (diff) | |
download | op-kernel-dev-3cf7fb07e077e599d8343113cf4ef81adb2ca627.zip op-kernel-dev-3cf7fb07e077e599d8343113cf4ef81adb2ca627.tar.gz |
LockD: manage garbage collection timeout per networks namespace
This patch moves next_gc to per-net data.
Note: passed network can be NULL (when Lockd kthread is exiting of Lockd
module is removing).
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/lockd/netns.h')
-rw-r--r-- | fs/lockd/netns.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/lockd/netns.h b/fs/lockd/netns.h index ce227e0..97c6c77 100644 --- a/fs/lockd/netns.h +++ b/fs/lockd/netns.h @@ -5,6 +5,7 @@ struct lockd_net { unsigned int nlmsvc_users; + unsigned long next_gc; }; extern int lockd_net_id; |