Message ID | 20210527144915.17079-4-tim.gardner@canonical.com |
---|---|
State | New |
Headers | show |
Series | cifs: On cifs_reconnect, resolve the hostname again | expand |
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index e096751a73873..505c88221b28f 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -459,6 +459,7 @@ static void reconn_set_next_dfs_target(struct TCP_Server_Info *server, cifs_dbg(FYI, "%s: failed to extract hostname from target: %ld\n", __func__, PTR_ERR(server->hostname)); + return; } rc = reconn_set_ipaddr_from_hostname(server);