SUNRPC: new svc_bind() routine introduced
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Mon, 25 Jun 2012 20:40:08 +0000 (16:40 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jul 2012 16:04:39 +0000 (09:04 -0700)
commit10762419cafd82a9a3a6f68bef54c29f1af75842
tree45e0a1689e4ffa4c94fc09c9c72d454fab1e6639
parent0bbc9d1b4b011e83ba65852b1d652561c7f562f1
SUNRPC: new svc_bind() routine introduced

upstream commit 9793f7c88937e7ac07305ab1af1a519225836823.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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