[GIT PULL] smb3 fixes

From: Steve French
Date: Sat Jan 22 2022 - 00:51:44 EST


Please pull the following changes since commit
0c947b893d69231a9add855939da7c66237ab44f:

Merge tag '5.17-rc-part1-smb3-fixes' of
git://git.samba.org/sfrench/cifs-2.6 (2022-01-17 09:53:21 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 51620150ca2df62f8ea472ab8962be590c957288:

cifs: update internal module number (2022-01-19 23:14:34 -0600)

----------------------------------------------------------------
18 cifs/smb3 fixes including:
- 9 multichannel fixes, addressing additional reconnect and DFS scenarios
- reenabling fscache support (indexing rewrite, metadata caching e.g.)
- send additional version information during NTLMSSP negotiate to
improve debugging
- fix for a mount race
- 2 DFS fixes
- fix for a memory leak for stable
----------------------------------------------------------------
David Howells (1):
cifs: Support fscache indexing rewrite

Eugene Korenevsky (2):
cifs: alloc_path_with_tree_prefix: do not append sep. if the path is empty
cifs: quirk for STATUS_OBJECT_NAME_INVALID returned for non-ASCII dfs refs

Muhammad Usama Anjum (1):
cifs: remove unused variable ses_selected

Ronnie Sahlberg (1):
cifs: serialize all mount attempts

Shyam Prasad N (9):
cifs: free ntlmsspblob allocated in negotiate
cifs: check reconnects for channels of active tcons too
cifs: fix the connection state transitions with multichannel
cifs: protect all accesses to chan_* with chan_lock
cifs: fix the cifs_reconnect path for DFS
cifs: remove repeated state change in dfs tree connect
cifs: make status checks in version independent callers
cifs: update tcpStatus during negotiate and sess setup
cifs: cifs_ses_mark_for_reconnect should also update reconnect bits

Steve French (3):
smb3: add new defines from protocol specification
smb3: send NTLMSSP version information
cifs: update internal module number

Yang Li (1):
cifs: clean up an inconsistent indenting

fs/cifs/Kconfig | 2 +-
fs/cifs/Makefile | 2 +-
fs/cifs/cache.c | 105 ---------------------
fs/cifs/cifs_swn.c | 9 +-
fs/cifs/cifsfs.c | 19 ++--
fs/cifs/cifsfs.h | 3 +-
fs/cifs/cifsglob.h | 7 +-
fs/cifs/cifsproto.h | 8 ++
fs/cifs/connect.c | 142 ++++++++++++++++++----------
fs/cifs/dfs_cache.c | 2 +-
fs/cifs/dir.c | 5 +
fs/cifs/file.c | 66 ++++++++-----
fs/cifs/fs_context.c | 8 +-
fs/cifs/fscache.c | 333
++++++++++++++++--------------------------------------------------
fs/cifs/fscache.h | 128 +++++++++----------------
fs/cifs/inode.c | 25 +++--
fs/cifs/misc.c | 49 ++++++++++
fs/cifs/netmisc.c | 5 +-
fs/cifs/ntlmssp.h | 30 +++++-
fs/cifs/sess.c | 112 ++++++++++++++++------
fs/cifs/smb2pdu.c | 112 +++++++++++++++-------
fs/cifs/smb2transport.c | 6 ++
fs/cifs/transport.c | 17 +---
fs/smbfs_common/smb2pdu.h | 2 +-
fs/smbfs_common/smbfsctl.h | 2 +
25 files changed, 573 insertions(+), 626 deletions(-)
delete mode 100644 fs/cifs/cache.c


--
Thanks,

Steve