diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-07-25 14:56:11 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-07-27 22:48:43 +0200 |
commit | 3cf7fb07e077e599d8343113cf4ef81adb2ca627 (patch) | |
tree | 485476d8e811ca4d75812bde1804f31669e2e977 /fs/lockd/netns.h | |
parent | LockD: make garbage collector network namespace aware. (diff) | |
download | linux-3cf7fb07e077e599d8343113cf4ef81adb2ca627.tar.xz linux-3cf7fb07e077e599d8343113cf4ef81adb2ca627.zip |
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 '')
-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 ce227e0fbc5c..97c6c771133f 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; |