aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r--fs/nfs/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index fd6f0a70021b..0870d0d4efc0 100644
--- a/fs/nfs/client.c
+++ b/fs/nfs/client.c
@@ -605,6 +605,7 @@ static int nfs_create_rpc_client(struct nfs_client *clp,
605{ 605{
606 struct rpc_clnt *clnt = NULL; 606 struct rpc_clnt *clnt = NULL;
607 struct rpc_create_args args = { 607 struct rpc_create_args args = {
608 .net = &init_net,
608 .protocol = clp->cl_proto, 609 .protocol = clp->cl_proto,
609 .address = (struct sockaddr *)&clp->cl_addr, 610 .address = (struct sockaddr *)&clp->cl_addr,
610 .addrsize = clp->cl_addrlen, 611 .addrsize = clp->cl_addrlen,