Date: Tue, 17 Sep 2024 01:23:30 -0500
From: Steve French <smfrench@gmail.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: LKML <linux-kernel@vger.kernel.org>, CIFS <linux-cifs@vger.kernel.org>, 
	Namjae Jeon <linkinjeon@kernel.org>
Subject: [GIT PULL] ksmbd server fixes

Please pull the following changes since commit
da3ea35007d0af457a0afc87e84fddaebc4e0b63:

  Linux 6.11-rc7 (2024-09-08 14:50:28 -0700)

are available in the Git repository at:

  git://git.samba.org/ksmbd.git tags/6.12-rc-ksmbd-server-fixes-part1

for you to fetch changes up to c5a709f08d40b1a082e44ffcde1aea4d2822ddd5:

  ksmbd: handle caseless file creation (2024-09-14 00:03:15 -0500)

----------------------------------------------------------------
Four ksmbd server fixes, three for stable
- Fix the issue where the directory can't be deleted if the share is
on a file system that does not provide dot and dotdot entries.
- Fix file creation failure if the parent name of pathname is case sensitive.
- Fix write failure with FILE_APPEND_DATA flags.
- Add reference count to connection struct to protect UAF of oplocks
on multichannel.
----------------------------------------------------------------
Hobin Woo (1):
      ksmbd: make __dir_empty() compatible with POSIX

Namjae Jeon (3):
      ksmbd: allow write with FILE_APPEND_DATA
      ksmbd: add refcnt to ksmbd_conn struct
      ksmbd: handle caseless file creation

 fs/smb/server/connection.c |  4 +++-
 fs/smb/server/connection.h |  1 +
 fs/smb/server/oplock.c     | 55
++++++++++++++++---------------------------------------
 fs/smb/server/vfs.c        | 19 ++++++++-----------
 fs/smb/server/vfs_cache.c  |  3 +++
 5 files changed, 31 insertions(+), 51 deletions(-)

-- 
Thanks,

Steve

.
Date: Tue, 17 Sep 2024 03:22:17 -0500
From: Steve French <smfrench@gmail.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: LKML <linux-kernel@vger.kernel.org>, CIFS <linux-cifs@vger.kernel.org>
Subject: [GIT PULL] smb3 client fixes

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 -05=
00)

----------------------------------------------------------------
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=C3=A1r (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 po=
inter
      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 =3D> 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 =3D> common}/smb2status.h (99%)
 create mode 100644 fs/smb/common/smbacl.h
 delete mode 100644 fs/smb/server/smbstatus.h


--
Thanks,

Steve

.
