summaryrefslogtreecommitdiffstats
path: root/fs/afs/dynroot.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2018-06-15 16:19:10 +0200
committerDavid Howells <dhowells@redhat.com>2018-06-15 16:27:09 +0200
commitc88d5a7fff2ef9aeed8aebb06f59d565693d0634 (patch)
treea62a05e4210bc82f6cabfda3594072fbc118208f /fs/afs/dynroot.c
parentafs: Show all of a server's addresses in /proc/fs/afs/servers (diff)
downloadlinux-c88d5a7fff2ef9aeed8aebb06f59d565693d0634.tar.xz
linux-c88d5a7fff2ef9aeed8aebb06f59d565693d0634.zip
afs: Enable IPv6 DNS lookups
Remove the restriction on DNS lookup upcalls that prevents ipv6 addresses from being looked up. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to '')
-rw-r--r--fs/afs/dynroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/dynroot.c b/fs/afs/dynroot.c
index 983f3946ab57..7425f416ed73 100644
--- a/fs/afs/dynroot.c
+++ b/fs/afs/dynroot.c
@@ -46,7 +46,7 @@ static int afs_probe_cell_name(struct dentry *dentry)
return 0;
}
- ret = dns_query("afsdb", name, len, "ipv4", NULL, NULL);
+ ret = dns_query("afsdb", name, len, "", NULL, NULL);
if (ret == -ENODATA)
ret = -EDESTADDRREQ;
return ret;