smb: client: introduce DFS_CACHE_TGT_LIST()
authorPaulo Alcantara <pc@manguebit.com>
Thu, 17 Aug 2023 15:33:59 +0000 (12:33 -0300)
committerSteve French <stfrench@microsoft.com>
Sun, 20 Aug 2023 21:05:49 +0000 (16:05 -0500)
commit3fea12f3c67de30fd2e6a3f5da2b5354aa22348e
treed7d2f789392092aa8bc8cce243995f8becbded51
parent706a741595047797872e669b3101429ab8d378ef
smb: client: introduce DFS_CACHE_TGT_LIST()

Add new helper which declares and initialises target list of a DFS
referral rather having to do both separately.

No functional changes.

Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/connect.c
fs/smb/client/dfs.c
fs/smb/client/dfs_cache.c
fs/smb/client/dfs_cache.h