LockD: manage garbage collection timeout per networks namespace
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Wed, 25 Jul 2012 12:56:11 +0000 (16:56 +0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 27 Jul 2012 20:48:43 +0000 (16:48 -0400)
commit3cf7fb07e077e599d8343113cf4ef81adb2ca627
tree485476d8e811ca4d75812bde1804f31669e2e977
parent27adaddc8de7f523a172246d5104cf1cd5e2191b
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>
fs/lockd/host.c
fs/lockd/netns.h