diff options
Diffstat (limited to 'fs/nfs/nfs4namespace.c')
-rw-r--r-- | fs/nfs/nfs4namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4namespace.c b/fs/nfs/nfs4namespace.c index 919a36935924..48a9acdbaeb6 100644 --- a/fs/nfs/nfs4namespace.c +++ b/fs/nfs/nfs4namespace.c | |||
@@ -98,7 +98,7 @@ static size_t nfs_parse_server_name(char *string, size_t len, | |||
98 | { | 98 | { |
99 | ssize_t ret; | 99 | ssize_t ret; |
100 | 100 | ||
101 | ret = rpc_pton(string, len, sa, salen); | 101 | ret = rpc_pton(&init_net, string, len, sa, salen); |
102 | if (ret == 0) { | 102 | if (ret == 0) { |
103 | ret = nfs_dns_resolve_name(server->client->cl_xprt->xprt_net, | 103 | ret = nfs_dns_resolve_name(server->client->cl_xprt->xprt_net, |
104 | string, len, sa, salen); | 104 | string, len, sa, salen); |