projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc03085
)
NFS: pass proper net rpc_pton() in nfs_dns_resolve_name()
author
Stanislav Kinsbursky
<skinsbursky@parallels.com>
Thu, 26 Jan 2012 11:11:33 +0000
(15:11 +0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 6 Feb 2012 23:48:04 +0000
(18:48 -0500)
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dns_resolve.c
patch
|
blob
|
history
diff --git
a/fs/nfs/dns_resolve.c
b/fs/nfs/dns_resolve.c
index be9a530987b3de3ec0458159e6ee178084dda9c6..fcd8f1d7430faade0ad56dd65e30968b32e9c903 100644
(file)
--- a/
fs/nfs/dns_resolve.c
+++ b/
fs/nfs/dns_resolve.c
@@
-20,7
+20,7
@@
ssize_t nfs_dns_resolve_name(struct net *net, char *name, size_t namelen,
ip_len = dns_query(NULL, name, namelen, NULL, &ip_addr, NULL);
if (ip_len > 0)
- ret = rpc_pton(
&init_
net, ip_addr, ip_len, sa, salen);
+ ret = rpc_pton(net, ip_addr, ip_len, sa, salen);
else
ret = -ESRCH;
kfree(ip_addr);