Please pull the following changes since commit 98f7e32f20d28ec452afb208f9cffc08448a2652: Linux 6.11 (2024-09-15 16:57:56 +0200) are available in the Git repository at: git://git.samba.org/sfrench/cifs-2.6.git tags/v6.12-rc-smb3-client-fixes-part1 for you to fetch changes up to 5ac1f99fdd09d80223e8f47dffaea41a6563aace: smb: client: fix compression heuristic functions (2024-09-16 20:10:39 -0500) ---------------------------------------------------------------- SMB3 client fixes 11 cleanup changesets (moving duplicated code, removing unused code etc.) 7 fixes relating to "sfu" mount options (for better handling special file types) 6 SMB3.1.1 compression fixes/improvements ---------------------------------------------------------------- ChenXiaoSong (7): smb/client: rename cifs_ntsd to smb_ntsd smb/client: rename cifs_sid to smb_sid smb/client: rename cifs_acl to smb_acl smb/client: rename cifs_ace to smb_ace smb: move some duplicate definitions to common/smbacl.h smb: move SMB2 Status code to common header file smb: add comment to STATUS_MCA_OCCURED Enzo Matsumiya (3): smb: client: insert compression check/call on write requests smb: client: compress: LZ77 code improvements cleanup smb: client: fix compression heuristic functions Gaosheng Cui (1): cifs: Remove obsoleted declaration for cifs_dir_open Hongbo Li (1): smb: use LIST_HEAD() to simplify code Pali Rohár (7): cifs: Fix recognizing SFU symlinks cifs: Add support for reading SFU symlink location cifs: Put explicit zero byte into SFU block/char types cifs: Show debug message when SFU Fifo type was detected cifs: Recognize SFU socket type cifs: Add support for creating SFU symlinks cifs: Update SFU comments about fifos and sockets Qianqiang Liu (2): smb: client: compress: fix a potential issue of freeing an invalid pointer smb: client: compress: fix an "illegal accesses" issue Shen Lichuan (1): smb: client: Use min() macro Steve French (1): smb3: mark compression as CONFIG_EXPERIMENTAL and fix missing compression operation Yuesong Li (1): cifs: convert to use ERR_CAST() fs/smb/client/Kconfig | 14 + fs/smb/client/Makefile | 2 + fs/smb/client/cifs_debug.c | 7 +- fs/smb/client/cifsacl.c | 226 +++--- fs/smb/client/cifsacl.h | 99 +-- fs/smb/client/cifsfs.h | 1 - fs/smb/client/cifsglob.h | 25 +- fs/smb/client/cifspdu.h | 6 - fs/smb/client/cifsproto.h | 28 +- fs/smb/client/cifssmb.c | 14 +- fs/smb/client/compress.c | 390 ++++++++++ fs/smb/client/compress.h | 90 +++ fs/smb/client/compress/lz77.c | 235 ++++++ fs/smb/client/compress/lz77.h | 15 + fs/smb/client/connect.c | 5 +- fs/smb/client/file.c | 7 +- fs/smb/client/fs_context.c | 20 +- fs/smb/client/inode.c | 42 +- fs/smb/client/link.c | 3 + fs/smb/client/misc.c | 9 +- fs/smb/client/smb1ops.c | 2 +- fs/smb/client/smb2file.c | 6 +- fs/smb/client/smb2inode.c | 6 +- fs/smb/client/smb2maperror.c | 2 +- fs/smb/client/smb2misc.c | 2 +- fs/smb/client/smb2ops.c | 98 ++- fs/smb/client/smb2pdu.c | 19 +- fs/smb/client/smb2pdu.h | 8 +- fs/smb/client/smb2proto.h | 2 +- fs/smb/client/smb2transport.c | 2 +- fs/smb/client/smbdirect.c | 6 +- fs/smb/client/transport.c | 4 + fs/smb/client/xattr.c | 4 +- fs/smb/{client => common}/smb2status.h | 6 + fs/smb/common/smbacl.h | 121 ++++ fs/smb/server/oplock.c | 2 +- fs/smb/server/server.c | 2 +- fs/smb/server/smb2misc.c | 2 +- fs/smb/server/smb2pdu.c | 2 +- fs/smb/server/smb_common.c | 2 +- fs/smb/server/smbacl.h | 111 +-- fs/smb/server/smbstatus.h | 1822 ----------------------------------------------- fs/smb/server/transport_rdma.c | 2 +- 43 files changed, 1206 insertions(+), 2265 deletions(-) create mode 100644 fs/smb/client/compress.c create mode 100644 fs/smb/client/compress.h create mode 100644 fs/smb/client/compress/lz77.c create mode 100644 fs/smb/client/compress/lz77.h rename fs/smb/{client => common}/smb2status.h (99%) create mode 100644 fs/smb/common/smbacl.h delete mode 100644 fs/smb/server/smbstatus.h -- Thanks, Steve