cifs: account for primary channel in the interface list
authorShyam Prasad N <sprasad@microsoft.com>
Tue, 14 Mar 2023 11:14:58 +0000 (11:14 +0000)
committerSteve French <stfrench@microsoft.com>
Thu, 9 Nov 2023 16:25:19 +0000 (10:25 -0600)
commitfa1d0508bdd4a68c5e40f85f635712af8c12f180
tree2e6a9752049931c323e456608f381b1355518a5b
parenta6d8fb54a515f0546ffdb7870102b1238917e567
cifs: account for primary channel in the interface list

The refcounting of server interfaces should account
for the primary channel too. Although this is not
strictly necessary, doing so will account for the primary
channel in DebugData.

Cc: stable@vger.kernel.org
Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/sess.c
fs/smb/client/smb2ops.c