[GIT PULL] ksmbd server fixes

From: Steve French
Date: Tue Sep 17 2024 - 02:23:53 EST


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