cifs: use the expiry output of dns_query to schedule next resolution
[linux-2.6-microblaze.git] / fs / cifs / misc.c
index 184138b..844abeb 100644 (file)
@@ -1187,7 +1187,7 @@ int match_target_ip(struct TCP_Server_Info *server,
 
        cifs_dbg(FYI, "%s: target name: %s\n", __func__, target + 2);
 
-       rc = dns_resolve_server_name_to_ip(target, &tip);
+       rc = dns_resolve_server_name_to_ip(target, &tip, NULL);
        if (rc < 0)
                goto out;