cifs: fix path comparison and hash calc
authorPaulo Alcantara <pc@cjr.nz>
Fri, 4 Jun 2021 22:25:31 +0000 (19:25 -0300)
committerSteve French <stfrench@microsoft.com>
Mon, 21 Jun 2021 02:28:17 +0000 (21:28 -0500)
commit42caeba713b12ee0dfc085f6fb2f7cde2a64f91a
treefd1249044ef9aa1bb2ada8e3c2b81b5972520007
parentc870a8e70e682764dfca6771d3ee5d632babb3e5
cifs: fix path comparison and hash calc

Fix cache lookup and hash calculations when handling paths with
different cases.

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/dfs_cache.c