]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: service shutdown function in network namespace context introduced
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Tue, 31 Jan 2012 10:09:25 +0000 (14:09 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 15 Feb 2012 05:19:46 +0000 (00:19 -0500)
commitb1aff6841508ff379fac6ab835558b5204b5cea9
tree89e578ca4f35a1bddb6cc7c8547ed65744d7bb35
parent22564c08516eeb4325b35009a4458987ee14c279
SUNRPC: service shutdown function in network namespace context introduced

This function is enough for releasing resources, allocated for network
namespace context, in case of sharing service between them.
IOW, each service "user" (LockD, NFSd, etc), which wants to share service
between network namespaces, have to release related resources by the function,
introduced in this patch, instead of performing service shutdown (of course in
case the service is shared already to the moment of release).

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/svc.c