aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-01-13 14:02:48 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-01-31 19:28:13 -0500
commit5247fab5c82779174d50590e0200bf532248a8a1 (patch)
treee9933b229e07e2a74020ce5af74ddfe83cc95db7 /include
parentSUNRPC: use proper network namespace in rpcbind RPCBPROC_GETADDR procedure (diff)
downloadlinux-dev-5247fab5c82779174d50590e0200bf532248a8a1.tar.xz
linux-dev-5247fab5c82779174d50590e0200bf532248a8a1.zip
SUNRPC: pass network namespace to service registering routines
Lockd and NFSd services will handle requests from and to many network nsamespaces. And thus have to be registered and unregistered per network namespace. Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sunrpc/svc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h
index 35b37b1e9299..d3563c2a5808 100644
--- a/include/linux/sunrpc/svc.h
+++ b/include/linux/sunrpc/svc.h
@@ -428,7 +428,7 @@ void svc_destroy(struct svc_serv *);
int svc_process(struct svc_rqst *);
int bc_svc_process(struct svc_serv *, struct rpc_rqst *,
struct svc_rqst *);
-int svc_register(const struct svc_serv *, const int,
+int svc_register(const struct svc_serv *, struct net *, const int,
const unsigned short, const unsigned short);
void svc_wake_up(struct svc_serv *);