[GIT PULL] smb3 client fixes

From: Steve French
Date: Sat Aug 27 2022 - 17:44:17 EST


Please pull the following changes since commit
1c23f9e627a7b412978b4e852793c5e3c3efc555:

Linux 6.0-rc2 (2022-08-21 17:32:54 -0700)

are available in the Git repository at:

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

for you to fetch changes up to d291e703f420d5f8f999fe54f360d54d213bddb4:

cifs: Add helper function to check smb1+ server (2022-08-24 22:30:09 -0500)

----------------------------------------------------------------
6 cifs/smb3 fixes, three for stable:
- two locking fixes (zero range, punch hole)
- DFS 9 fix (padding), affecting some servers
- three minor cleanup changes

There are a few additional important fixes (collapse range, insert range) that
are not included since still being tested.
----------------------------------------------------------------
David Howells (2):
smb3: missing inode locks in zero range
smb3: missing inode locks in punch hole

Paulo Alcantara (1):
cifs: skip extra NULL byte in filenames

Zhang Xiaoxu (3):
cifs: Use help macro to get the header preamble size
cifs: Use help macro to get the mid header size
cifs: Add helper function to check smb1+ server

fs/cifs/cifsencrypt.c | 3 +--
fs/cifs/cifsglob.h | 7 ++++++
fs/cifs/connect.c | 23 ++++++++----------
fs/cifs/smb2ops.c | 67 +++++++++++++++++++++++++++------------------------
fs/cifs/smb2pdu.c | 16 +++++-------
fs/cifs/transport.c | 21 ++++++++--------
6 files changed, 70 insertions(+), 67 deletions(-)

--
Thanks,

Steve