smb: client: handle DFS tcons in cifs_construct_tcon()
authorPaulo Alcantara <pc@manguebit.com>
Tue, 2 Apr 2024 01:44:08 +0000 (22:44 -0300)
committerSteve French <stfrench@microsoft.com>
Tue, 2 Apr 2024 15:12:13 +0000 (10:12 -0500)
commit4a5ba0e0bfe552ac7451f57e304f6343c3d87f89
treed39c5f38025c06d166661bd91d6ca08003afe5cf
parent0a05ad21d77a188d06481c36d6016805a881bcc0
smb: client: handle DFS tcons in cifs_construct_tcon()

The tcons created by cifs_construct_tcon() on multiuser mounts must
also be able to failover and refresh DFS referrals, so set the
appropriate fields in order to get a full DFS tcon.  They could be
shared among different superblocks later, too.

Cc: stable@vger.kernel.org # 6.4+
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202404021518.3Xu2VU4s-lkp@intel.com/
Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/connect.c