[GIT PULL] smb3 client fixes

From: Steve French
Date: Fri Jan 26 2024 - 17:26:14 EST


Please pull the following changes since commit
6613476e225e090cc9aad49be7fa504e290dd33d:

Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)

are available in the Git repository at:

git://git.samba.org/sfrench/cifs-2.6.git tags/6.8-rc1-smb3-client-fixes

for you to fetch changes up to 993d1c346b1a51ac41b2193609a0d4e51e9748f4:

cifs: fix stray unlock in cifs_chan_skip_or_disable (2024-01-23
20:23:29 -0600)

----------------------------------------------------------------
Nine cifs/smb client fixes
- Four network error fixes (three relating to replays of requests that
need to be retried,
and one fixing some places where we were returning the wrong rc up the stack
on network errors)
- Two multichannel fixes including locking fix and case where subset
of channels need reconnect
- netfs integration fixup: share remote i_size with netfslib
- Two small cleanups (one for addressing a clang warning)

An additional multichannel fix dealing with a problem found in pick channel
in a case when server had crashed, and some fixes for reset of expired
passwords and key rotation are not included in this P/R as they are
still being tested.
----------------------------------------------------------------
Alexey Dobriyan (1):
smb: client: delete "true", "false" defines

David Howells (1):
cifs: Share server EOF pos with netfslib

Kees Cook (1):
smb: Work around Clang __bdos() type confusion

Shyam Prasad N (6):
cifs: cifs_pick_channel should try selecting active channels
cifs: translate network errors on send to -ECONNABORTED
cifs: helper function to check replayable error codes
cifs: commands that are retried should have replay flag set
cifs: set replay flag for retries of write command
cifs: fix stray unlock in cifs_chan_skip_or_disable

fs/smb/client/cached_dir.c | 24 ++++-
fs/smb/client/cifsencrypt.c | 2 +-
fs/smb/client/cifsfs.c | 17 ++-
fs/smb/client/cifsglob.h | 14 ++-
fs/smb/client/file.c | 9 +-
fs/smb/client/inode.c | 8 +-
fs/smb/client/readdir.c | 2 +-
fs/smb/client/smb2inode.c | 33 ++++--
fs/smb/client/smb2ops.c | 141 +++++++++++++++++++++---
fs/smb/client/smb2pdu.c | 265
+++++++++++++++++++++++++++++++++++++++++-----
fs/smb/client/smb2proto.h | 5 +
fs/smb/client/smbencrypt.c | 7 --
fs/smb/client/transport.c | 14 ++-
13 files changed, 467 insertions(+), 74 deletions(-)

--
Thanks,

Steve