[GIT PULL] smb3 client fixes

From: Steve French
Date: Sat Aug 13 2022 - 17:45:17 EST


Please pull the following changes since commit
0d168a58fca34806b575c7cba87afb11208acb54:

cifs: update internal module number (2022-08-05 11:24:17 -0500)

are available in the Git repository at:

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

for you to fetch changes up to 7eb59a98701d3113671b513593bb489cc76f58d2:

cifs: Do not access tcon->cfids->cfid directly from
is_path_accessible (2022-08-12 17:40:15 -0500)

----------------------------------------------------------------
8 cifs/smb3 fixes:
- two fixes for stable, one for a lock length miscalculation, and
another fixes a lease break timeout bug
- improvement to handle leases, allows the close timeout to be
configured more safely
- five restructuring/cleanup patches
----------------------------------------------------------------
Bharath SM (1):
SMB3: fix lease break timeout when multiple deferred close
handles for the same file.

David Howells (1):
cifs: Remove {cifs,nfs}_fscache_release_page()

Paulo Alcantara (1):
cifs: fix lock length calculation

Ronnie Sahlberg (4):
cifs: Move cached-dir functions into a separate file
cifs: Do not use tcon->cfid directly, use the cfid we get from
open_cached_dir
cifs: Add constructor/destructors for tcon->cfid
cifs: Do not access tcon->cfids->cfid directly from is_path_accessible

Steve French (1):
smb3: allow deferred close timeout to be configurable

fs/cifs/Makefile | 2 +-
fs/cifs/cached_dir.c | 388 +++++++++++++++++++++++++++++++++++++++++++++++++
fs/cifs/cached_dir.h | 64 ++++++++
fs/cifs/cifsfs.c | 21 +--
fs/cifs/cifsglob.h | 42 +-----
fs/cifs/cifsproto.h | 1 -
fs/cifs/connect.c | 2 +
fs/cifs/file.c | 39 +----
fs/cifs/fs_context.c | 9 ++
fs/cifs/fs_context.h | 8 +
fs/cifs/fscache.h | 16 --
fs/cifs/inode.c | 1 +
fs/cifs/misc.c | 20 ++-
fs/cifs/readdir.c | 5 +-
fs/cifs/smb2inode.c | 11 +-
fs/cifs/smb2misc.c | 11 +-
fs/cifs/smb2ops.c | 320 +++-------------------------------------
fs/cifs/smb2pdu.c | 3 +-
fs/cifs/smb2proto.h | 10 --
19 files changed, 528 insertions(+), 445 deletions(-)
create mode 100644 fs/cifs/cached_dir.c
create mode 100644 fs/cifs/cached_dir.h


--
Thanks,

Steve