cifs: handle RESP_GET_DFS_REFERRAL.PathConsumed in reconnect
authorPaulo Alcantara <pc@cjr.nz>
Tue, 21 Jul 2020 12:36:42 +0000 (09:36 -0300)
committerSteve French <stfrench@microsoft.com>
Sun, 2 Aug 2020 23:00:26 +0000 (18:00 -0500)
commit7548e1da8d2d345debb9c0f141c47e4077d6085b
tree48724a7d4acc095f10a8d1ae5223841b82e2ede6
parenta52930353eaf443489a350a135c5525a4acbbf56
cifs: handle RESP_GET_DFS_REFERRAL.PathConsumed in reconnect

Use PathConsumed field when parsing prefixes of referral paths that
either match a cache entry or are a complete prefix path of an
existing entry.

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/cifsproto.h
fs/cifs/connect.c
fs/cifs/dfs_cache.c
fs/cifs/dfs_cache.h
fs/cifs/misc.c