Skip to content
Commit c34fea5a authored by Paulo Alcantara's avatar Paulo Alcantara Committed by Steve French
Browse files

cifs: Skip any trailing backslashes from UNC



When extracting hostname from UNC, check for leading backslashes
before trying to remove them.

Signed-off-by: default avatarPaulo Alcantara <palcantara@suse.de>
Reviewed-by: default avatarAurelien Aptel <aaptel@suse.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 56c762eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment