[GIT PULL] smb3 client fixes

From: Steve French
Date: Sun May 21 2023 - 00:53:23 EST


Please pull the following changes since commit
f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6:

Linux 6.4-rc2 (2023-05-14 12:51:40 -0700)

are available in the Git repository at:

git://git.samba.org/sfrench/cifs-2.6.git tags/6.4-rc2-smb3-client-fixes

for you to fetch changes up to 59a556aebc43dded08535fe97d94ca3f657915e4:

SMB3: drop reference to cfile before sending oplock break
(2023-05-17 12:04:41 -0500)

----------------------------------------------------------------
2 smb3 client fixes, both related to deferred close (also for stable)

- send close for deferred handles before not after lease break
response to avoid possible sharing violations
- check all opens on an inode (looking for deferred handles) when
lease break is returned not just the handle the lease break came in
on.

----------------------------------------------------------------
Bharath SM (2):
SMB3: Close all deferred handles of inode in case of handle lease break
SMB3: drop reference to cfile before sending oplock break

fs/cifs/cifsglob.h | 4 ++--
fs/cifs/file.c | 26 +++++++++++++-------------
fs/cifs/smb1ops.c | 9 ++++-----
fs/cifs/smb2ops.c | 7 +++----
4 files changed, 22 insertions(+), 24 deletions(-)

--
Thanks,

Steve