cifs: Merge is_path_valid() into get_normalized_path()
authorPaulo Alcantara (SUSE) <pc@cjr.nz>
Wed, 4 Dec 2019 20:38:01 +0000 (17:38 -0300)
committerSteve French <stfrench@microsoft.com>
Mon, 27 Jan 2020 01:24:16 +0000 (19:24 -0600)
commitff2f7fc08268f266372c30a815349749e8499eb5
tree52cf512276d2c0db02c586f448b7f5154293934b
parent345c1a4a9e09dc5842b7bbb6728a77910db69c52
cifs: Merge is_path_valid() into get_normalized_path()

Just do the trivial path validation in get_normalized_path().

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