summaryrefslogtreecommitdiffstats
path: root/fs/afs/dynroot.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2018-06-15 15:19:10 +0100
committerDavid Howells <dhowells@redhat.com>2018-06-15 15:27:09 +0100
commitc88d5a7fff2ef9aeed8aebb06f59d565693d0634 (patch)
treea62a05e4210bc82f6cabfda3594072fbc118208f /fs/afs/dynroot.c
parent0aac4bce4b49e58c43181d293da491cd2bdba6c7 (diff)
downloadlinux-c88d5a7fff2ef9aeed8aebb06f59d565693d0634.tar.bz2
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 'fs/afs/dynroot.c')
-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;