summaryrefslogtreecommitdiffstats
path: root/include/linux/lockd
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-01-31 15:08:05 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-02-15 00:19:47 -0500
commitbb2224df5ffe4f864f5b696199b17db1ce77bc0a (patch)
tree1aa476668966b94ea5f5e399ea15f3aede936f47 /include/linux/lockd
parenta9c5d73a8d8cb37601f8c39b35b9b4128e1a5254 (diff)
downloadlinux-stable-bb2224df5ffe4f864f5b696199b17db1ce77bc0a.tar.gz
linux-stable-bb2224df5ffe4f864f5b696199b17db1ce77bc0a.tar.bz2
linux-stable-bb2224df5ffe4f864f5b696199b17db1ce77bc0a.zip
Lockd: per-net up and down routines introduced
This patch introduces per-net Lockd initialization and destruction routines. The logic is the same as in global Lockd up and down routines. Probably the solution is not the best one. But at least it looks clear. So per-net "up" routine are called only in case of lockd is running already. If per-net resources are not allocated yet, then service is being registered with local portmapper and lockd sockets created. Per-net "down" routine is called on every lockd_down() call in case of global users counter is not zero. Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/lockd')
0 files changed, 0 insertions, 0 deletions