SUNRPC: new svc_bind() routine introduced
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Wed, 2 May 2012 12:08:38 +0000 (16:08 +0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 1 Jun 2012 00:29:39 +0000 (20:29 -0400)
commit9793f7c88937e7ac07305ab1af1a519225836823
tree48a4283a15cb0d5a427e722075fe546cc8cdcc53
parentc52226daf553b21891f39777d78a54ea4e7e8654
SUNRPC: new svc_bind() routine introduced

This new routine is responsible for service registration in a specified
network context.

The idea is to separate service creation from per-net operations.

Note also: since registering service with svc_bind() can fail, the
service will be destroyed and during destruction it will try to
unregister itself from rpcbind. In this case unregistration has to be
skipped.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/lockd/svc.c
fs/nfs/callback.c
fs/nfsd/nfssvc.c
include/linux/sunrpc/svc.h
net/sunrpc/rpcb_clnt.c
net/sunrpc/svc.c