]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: Fix a debug message
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 5 Jan 2019 12:25:29 +0000 (15:25 +0300)
committerSteve French <stfrench@microsoft.com>
Thu, 10 Jan 2019 20:32:27 +0000 (14:32 -0600)
commitb8c2cc85306b8e654ab1d70b55087ffbf77f9718
treeab30d93667c8f8463752c470fa4791c1f26a5479
parent8cf03f3348b00c7067d3e99878f8be4ffae6fec1
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: 8996394d3089 ("cifs: Add support for failover in cifs_reconnect()")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Paulo Alcantara <palcantara@suse.de>
fs/cifs/connect.c