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)
commit074d0f67cfe0af4927ce49560f403096b490c47f
tree89e578ca4f35a1bddb6cc7c8547ed65744d7bb35
parent7b147f1ff267d12e0d189ca3d4156ed5a76b8d99
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