[GIT PULL] smb3 client fixes

From: Steve French
Date: Sat Oct 15 2022 - 20:33:48 EST


Please pull the following changes since commit
ac1e8c6c95bf805c699656046aef0a05205edfbd:

Merge tag '6.1-rc-smb3-client-fixes-part1' of
git://git.samba.org/sfrench/cifs-2.6 (2022-10-10 20:04:22 -0700)

are available in the Git repository at:

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

for you to fetch changes up to e3e9463414f610e91528f2b920b8cb655f4bae33:

smb3: improve SMB3 change notification support (2022-10-15 10:05:53 -0500)

----------------------------------------------------------------
15 cifs/smb3 fixes including 2 for stable
- fix a regression in guest mounts to old servers
- improvements to directory leasing (caching directory entries safely
beyond the root directory)
- symlink improvement (reducing roundtrips needed to process symlinks)
- an lseek fix (to problem where some dir entries could be skipped)
- improved ioctl for returning more detailed information on directory
change notifications
- clarify multichannel interface query warning
- cleanup fix (for better aligning buffers using ALIGN and round_up)
- a compounding fix
- fix some uninitialized variable bugs found by Coverity and the
kernel test robot
----------------------------------------------------------------
Enzo Matsumiya (1):
cifs: use ALIGN() and round_up() macros

Paulo Alcantara (5):
cifs: improve symlink handling for smb2+
cifs: fix uninitialised var in smb2_compound_op()
cifs: prevent copying past input buffer boundaries
cifs: fix static checker warning
cifs: fix double-fault crash during ntlmssp

Ronnie Sahlberg (4):
cifs: fix skipping to incorrect offset in emit_cached_dirents
cifs: fix regression in very old smb1 mounts
cifs: enable caching of directories for which a lease is held
cifs: find and use the dentry for cached non-root directories also

Steve French (5):
smb3: clarify multichannel warning
smb3: must initialize two ACL struct fields to zero
cifs: lease key is uninitialized in smb1 paths
cifs: lease key is uninitialized in two additional functions when smb1
smb3: improve SMB3 change notification support

fs/cifs/cached_dir.c | 469
++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------
fs/cifs/cached_dir.h | 20 ++--
fs/cifs/cifs_ioctl.h | 8 ++
fs/cifs/cifsfs.c | 9 +-
fs/cifs/cifsglob.h | 48 +++++++---
fs/cifs/cifsproto.h | 13 ++-
fs/cifs/cifssmb.c | 2 +-
fs/cifs/connect.c | 22 +++--
fs/cifs/dir.c | 32 +++----
fs/cifs/file.c | 45 ++++-----
fs/cifs/inode.c | 176 +++++++++++++++++++++--------------
fs/cifs/ioctl.c | 25 ++++-
fs/cifs/link.c | 107 +--------------------
fs/cifs/readdir.c | 31 +++++--
fs/cifs/sess.c | 34 +++----
fs/cifs/smb1ops.c | 56 ++++++-----
fs/cifs/smb2file.c | 127 ++++++++++++++++++++-----
fs/cifs/smb2inode.c | 170 +++++++++++++++++----------------
fs/cifs/smb2misc.c | 2 +-
fs/cifs/smb2ops.c | 149 +++++++++++------------------
fs/cifs/smb2pdu.c | 75 +++++++++------
fs/cifs/smb2pdu.h | 3 +
fs/cifs/smb2proto.h | 25 +++--
23 files changed, 922 insertions(+), 726 deletions(-)


--
Thanks,

Steve