[GIT PULL] smb3 client fixes
From: Steve French
Date: Wed Aug 30 2023 - 16:50:34 EST
Please pull the following changes since commit
706a741595047797872e669b3101429ab8d378ef:
Linux 6.5-rc7 (2023-08-20 15:02:52 +0200)
are available in the Git repository at:
git://git.samba.org/sfrench/cifs-2.6.git tags/6.6-rc-smb3-client-fixes-part1
for you to fetch changes up to f3a9b3758e0b6d40183929aba599a7da52313a3e:
fs/jfs: Use common ucs2 upper case table (2023-08-30 08:55:52 -0500)
----------------------------------------------------------------
22 smb3/cifs client fixes and two related changes (cleaning up some
common code for unicode mapping)
- six fixes for excessive stack usage
- multichannel reconnect improvements
- DFS fix and four DFS cleanup patches
- move UCS-2 conversion code to fs/nls and update cifs.ko and jfs.ko to use them
- Cleanup patch for compounding, one to fix confusing function name
- inode number collision fix
- three reparse point fixes (including avoiding an extra unneeded
query on symlinks) and one minor cleanup
- directory lease (caching) improvement
----------------------------------------------------------------
Bharath SM (1):
cifs: update desired access while requesting for directory lease
Dr. David Alan Gilbert (4):
fs/smb: Remove unicode 'lower' tables
fs/smb: Swing unicode common code from smb->NLS
fs/smb/client: Use common code in client
fs/jfs: Use common ucs2 upper case table
Paulo Alcantara (17):
smb: client: introduce DFS_CACHE_TGT_LIST()
smb: client: ensure to try all targets when finding nested links
smb: client: move some params to cifs_open_info_data
smb: client: make smb2_compound_op() return resp buffer on success
smb: client: rename cifs_dfs_ref.c to namespace.c
smb: client: get rid of dfs naming in automount code
smb: client: get rid of dfs code dep in namespace.c
smb: client: parse reparse point flag in create response
smb: client: do not query reparse points twice on symlinks
smb: client: query reparse points in older dialects
smb: cilent: set reparse mount points as automounts
smb: client: reduce stack usage in cifs_try_adding_channels()
smb: client: reduce stack usage in cifs_demultiplex_thread()
smb: client: reduce stack usage in smb_send_rqst()
smb: client: reduce stack usage in smb2_set_ea()
smb: client: reduce stack usage in smb2_query_info_compound()
smb: client: reduce stack usage in smb2_query_reparse_point()
Steve French (2):
[SMB3] send channel sequence number in SMB3 requests after reconnects
SMB3: rename macro CIFS_SERVER_IS_CHAN to avoid confusion
fs/jfs/Kconfig | 1 +
fs/jfs/Makefile | 2 +-
fs/jfs/jfs_unicode.h | 17 ++---
fs/jfs/jfs_uniupr.c | 121
---------------------------------
fs/nls/Kconfig | 8 +++
fs/nls/Makefile | 1 +
fs/nls/nls_ucs2_data.h | 15 ++++
fs/{smb/server/uniupr.h => nls/nls_ucs2_utils.c} | 156
+++++-------------------------------------
fs/nls/nls_ucs2_utils.h | 285
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
fs/smb/client/Kconfig | 1 +
fs/smb/client/Makefile | 5 +-
fs/smb/client/cached_dir.c | 2 +-
fs/smb/client/cifs_debug.c | 2 +-
fs/smb/client/cifs_unicode.c | 1 -
fs/smb/client/cifs_unicode.h | 330
+---------------------------------------------------------------------------------------
fs/smb/client/cifs_uniupr.h | 239
----------------------------------------------------------------
fs/smb/client/cifsfs.c | 2 +-
fs/smb/client/cifsfs.h | 11 +--
fs/smb/client/cifsglob.h | 72 ++++++++++++++++----
fs/smb/client/cifsproto.h | 9 ++-
fs/smb/client/connect.c | 21 +++---
fs/smb/client/dfs.c | 271
+++++++++++++++++++++++++++++++++++++++---------------------------------
fs/smb/client/dfs.h | 141
++++++++++++++++++++++++++++----------
fs/smb/client/dfs_cache.c | 10 ++-
fs/smb/client/dfs_cache.h | 12 ++--
fs/smb/client/dir.c | 4 +-
fs/smb/client/inode.c | 498
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------
fs/smb/client/misc.c | 2 +-
fs/smb/client/{cifs_dfs_ref.c => namespace.c} | 113
++++++++++++++++--------------
fs/smb/client/readdir.c | 23 ++-----
fs/smb/client/sess.c | 72 ++++++++++++--------
fs/smb/client/smb1ops.c | 26 ++++---
fs/smb/client/smb2inode.c | 203
++++++++++++++++++++++++++++++------------------------
fs/smb/client/smb2misc.c | 6 +-
fs/smb/client/smb2ops.c | 298
+++++++++++++++++++++++++------------------------------------------------------
fs/smb/client/smb2pdu.c | 19 ++++--
fs/smb/client/smb2proto.h | 17 +++--
fs/smb/client/smb2transport.c | 4 +-
fs/smb/client/transport.c | 29 ++++----
fs/smb/common/smb2pdu.h | 22 ++++++
fs/smb/server/Kconfig | 1 +
fs/smb/server/unicode.c | 1 -
fs/smb/server/unicode.h | 325
++-------------------------------------------------------------------------------------
43 files changed, 1377 insertions(+), 2021 deletions(-)
delete mode 100644 fs/jfs/jfs_uniupr.c
create mode 100644 fs/nls/nls_ucs2_data.h
rename fs/{smb/server/uniupr.h => nls/nls_ucs2_utils.c} (50%)
create mode 100644 fs/nls/nls_ucs2_utils.h
delete mode 100644 fs/smb/client/cifs_uniupr.h
rename fs/smb/client/{cifs_dfs_ref.c => namespace.c} (62%)
--
Thanks,
Steve