diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-11-14 15:21:10 (GMT) |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-11-15 12:40:42 (GMT) |
commit | c212cecfa21b3d30cd5cc2389754a46973ad9027 (patch) | |
tree | ce0e190694a98dd8f526b00d9b60aa8861faebbc /fs/nfsd/nfs4callback.c | |
parent | 7f2210fa6b791c290e36d8b3c8af7aaf22b2aaf0 (diff) | |
download | linux-fsl-qoriq-c212cecfa21b3d30cd5cc2389754a46973ad9027.tar.xz |
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 9968470..826cc26 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, |