]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf7e19e50398d0fc0915e0f04accfe588cb632839
tree48a4283a15cb0d5a427e722075fe546cc8cdcc53
parenta305b277c79796afdfaece0c0b55c5001aabf554
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