diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-07-25 14:56:19 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-07-27 22:48:43 +0200 |
commit | caa4e76b6f284bab535a98fd37b9c46856158bcb (patch) | |
tree | 8f627e46f3dce4257dd3fe261c53e1fd2d915673 /fs/lockd/netns.h | |
parent | LockD: manage garbage collection timeout per networks namespace (diff) | |
download | linux-caa4e76b6f284bab535a98fd37b9c46856158bcb.tar.xz linux-caa4e76b6f284bab535a98fd37b9c46856158bcb.zip |
LockD: manage used host count per networks namespace
This patch introduces moves nrhosts in per-net data.
It also adds kernel warning to nlm_shutdown_hosts_net() about remaining hosts
in specified network namespace context.
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 97c6c771133f..44c8f0b9230a 100644 --- a/fs/lockd/netns.h +++ b/fs/lockd/netns.h @@ -6,6 +6,7 @@ struct lockd_net { unsigned int nlmsvc_users; unsigned long next_gc; + unsigned long nrhosts; }; extern int lockd_net_id; |