cifs: Fix a debug message
authorDan Carpenter <[email protected]>
Sat, 5 Jan 2019 12:25:29 +0000 (15:25 +0300)
committerSteve French <[email protected]>
Thu, 10 Jan 2019 20:32:27 +0000 (14:32 -0600)
commit8428817dc40006dca0a531cfa06e89cb3b41790d
treeab30d93667c8f8463752c470fa4791c1f26a5479
parent1bdbe227492075d058e37cb3d400e6468d0095b5
cifs: Fix a debug message

This debug message was never shown because it was checking for NULL
returns but extract_hostname() returns error pointers.

Fixes: 93d5cb517db3 ("cifs: Add support for failover in cifs_reconnect()")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Steve French <[email protected]>
Reviewed-by: Paulo Alcantara <[email protected]>
fs/cifs/connect.c