diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index ecb0803bdb0e50479f50b0e874a4e87cb064e2d0..103054af9713e014d0271af76db434c070177531 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -488,8 +488,11 @@ server_unresponsive(struct TCP_Server_Info *server) */ if (server->tcpStatus == CifsGood && time_after(jiffies, server->lstrp + 2 * SMB_ECHO_INTERVAL)) { - cifs_dbg(VFS, "Server %s has not responded in %d seconds. Reconnecting...\n", - server->hostname, (2 * SMB_ECHO_INTERVAL) / HZ); + cifs_dbg(VFS, "Server %s (addr=%pISc) has not responded in " + "%d seconds. Reconnecting...\n", + server->hostname, + (struct sockaddr *)&server->dstaddr, + (2 * SMB_ECHO_INTERVAL) / HZ); cifs_reconnect(server); wake_up(&server->response_q); return true;