summaryrefslogtreecommitdiffstats
path: root/fs/smb/client/smb2transport.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-04-23 09:37:32 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2024-04-23 09:37:32 -0700
commit9d1ddab261f3e2af7c384dc02238784ce0cf9f98 (patch)
tree577d3ea4aeb0b3c2e50aa99219434033a9731375 /fs/smb/client/smb2transport.c
parent71b1543c83d65af8215d7558d70fc2ecbee77dcf (diff)
parent77d8aa79ecfb209308e0644c02f655122b31def7 (diff)
downloadlinux-stable-9d1ddab261f3e2af7c384dc02238784ce0cf9f98.tar.gz
linux-stable-9d1ddab261f3e2af7c384dc02238784ce0cf9f98.tar.bz2
linux-stable-9d1ddab261f3e2af7c384dc02238784ce0cf9f98.zip
Merge tag '6.9-rc5-smb-client-fixes' of git://git.samba.org/sfrench/cifs-2.6
Pull smb client fixes from Steve French: - fscache fix - fix for case where we could use uninitialized lease - add tracepoint for debugging refcounting of tcon - fix mount option regression (e.g. forceuid vs. noforceuid when uid= specified) caused by conversion to the new mount API * tag '6.9-rc5-smb-client-fixes' of git://git.samba.org/sfrench/cifs-2.6: cifs: reinstate original behavior again for forceuid/forcegid smb: client: fix rename(2) regression against samba cifs: Add tracing for the cifs_tcon struct refcounting cifs: Fix reacquisition of volume cookie on still-live connection
Diffstat (limited to 'fs/smb/client/smb2transport.c')
-rw-r--r--fs/smb/client/smb2transport.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/smb/client/smb2transport.c b/fs/smb/client/smb2transport.c
index 1d6e54f7879e..02135a605305 100644
--- a/fs/smb/client/smb2transport.c
+++ b/fs/smb/client/smb2transport.c
@@ -189,6 +189,8 @@ smb2_find_smb_sess_tcon_unlocked(struct cifs_ses *ses, __u32 tid)
if (tcon->tid != tid)
continue;
++tcon->tc_count;
+ trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count,
+ netfs_trace_tcon_ref_get_find_sess_tcon);
return tcon;
}