[GIT PULL] smb3 client fixes

From: Steve French
Date: Sun Jul 09 2023 - 00:39:30 EST


Please pull the following changes since commit
a507db1d8fdc39802415e4d2ef6d1aecd67927fa:

Merge tag '6.5-rc-smb3-client-fixes-part1' of
git://git.samba.org/sfrench/cifs-2.6 (2023-06-30 22:00:28 -0700)

are available in the Git repository at:

git://git.samba.org/sfrench/cifs-2.6.git tags/6.5-rc-smb3-client-fixes-part2

for you to fetch changes up to d14de8067e3f9653cdef5a094176d00f3260ab20:

cifs: Add a laundromat thread for cached directories (2023-07-05
22:36:07 -0500)

----------------------------------------------------------------
3 smb3 client fixes;
- fix potential use after free in unmount
- minor cleanup fix
- add worker to cleanup stale directory leases

Not included in this P/R is the follow on patch to allow this timeout
to be configurable at mount (is being tested), as are a pair of fixes
for some cases where stale metadata can be incorrectly used, and a fix
for O_DIRECT is also not included (still being tested).

----------------------------------------------------------------
Colin Ian King (1):
smb: client: remove redundant pointer 'server'

Ronnie Sahlberg (1):
cifs: Add a laundromat thread for cached directories

Winston Wen (1):
cifs: fix session state transition to avoid use-after-free issue

fs/smb/client/cached_dir.c | 67
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
fs/smb/client/cached_dir.h | 1 +
fs/smb/client/connect.c | 7 ++++---
fs/smb/client/dfs.c | 2 --
4 files changed, 72 insertions(+), 5 deletions(-)


--
Thanks,

Steve