diff options
author | Pavel Emelyanov <xemul@parallels.com> | 2010-09-29 14:03:50 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2010-10-01 23:18:54 +0200 |
commit | fc5d00b04a3a58cac8620403dfe9f43f72578ec1 (patch) | |
tree | 3a8b9a5ae3456b5846fb64c0a74c9389998b3e18 /fs/nfsd/nfsctl.c | |
parent | sunrpc: Factor out rpc_xprt freeing (diff) | |
download | linux-fc5d00b04a3a58cac8620403dfe9f43f72578ec1.tar.xz linux-fc5d00b04a3a58cac8620403dfe9f43f72578ec1.zip |
sunrpc: Add net argument to svc_create_xprt
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfsctl.c')
-rw-r--r-- | fs/nfsd/nfsctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index b6e192d25633..b81da24b768c 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c @@ -1015,12 +1015,12 @@ static ssize_t __write_ports_addxprt(char *buf) if (err != 0) return err; - err = svc_create_xprt(nfsd_serv, transport, + err = svc_create_xprt(nfsd_serv, transport, &init_net, PF_INET, port, SVC_SOCK_ANONYMOUS); if (err < 0) goto out_err; - err = svc_create_xprt(nfsd_serv, transport, + err = svc_create_xprt(nfsd_serv, transport, &init_net, PF_INET6, port, SVC_SOCK_ANONYMOUS); if (err < 0 && err != -EAFNOSUPPORT) goto out_close; |