]> 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)
commitfc49030f55672322e476295a7be56af712d9bd46
treeab30d93667c8f8463752c470fa4791c1f26a5479
parent48e63a1aaebaadf04a05d1db71ec6603fc0bd1db
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: e1a9c34fbca9 ("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