diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-11-14 18:21:10 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-11-15 07:40:42 -0500 |
commit | c212cecfa21b3d30cd5cc2389754a46973ad9027 (patch) | |
tree | ce0e190694a98dd8f526b00d9b60aa8861faebbc /fs/nfsd/nfs4callback.c | |
parent | 7f2210fa6b791c290e36d8b3c8af7aaf22b2aaf0 (diff) | |
download | linux-c212cecfa21b3d30cd5cc2389754a46973ad9027.tar.gz linux-c212cecfa21b3d30cd5cc2389754a46973ad9027.tar.bz2 linux-c212cecfa21b3d30cd5cc2389754a46973ad9027.zip |
nfsd: make nfs4_client network namespace dependent
And use it's net where possible.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4callback.c')
-rw-r--r-- | fs/nfsd/nfs4callback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c index 996847023015..826cc269c445 100644 --- a/fs/nfsd/nfs4callback.c +++ b/fs/nfsd/nfs4callback.c @@ -663,7 +663,7 @@ static int setup_callback_client(struct nfs4_client *clp, struct nfs4_cb_conn *c .to_retries = 0, }; struct rpc_create_args args = { - .net = &init_net, + .net = clp->net, .address = (struct sockaddr *) &conn->cb_addr, .addrsize = conn->cb_addrlen, .saddress = (struct sockaddr *) &conn->cb_saddr, |