[GIT PULL] smb3 client fixes

From: Steve French

Date: Thu Jul 16 2026 - 19:23:02 EST


Please pull the following changes since commit
a13c140cc289c0b7b3770bce5b3ad42ab35074aa:

Linux 7.2-rc3 (2026-07-12 14:16:39 -0700)

are available in the Git repository at:

git://git.samba.org/sfrench/cifs-2.6.git tags/v7.2-rc3-smb3-client-fixes

for you to fetch changes up to d7d2adcd022baade5cab65ca492ce63421ce3a6e:

smb/client: flush dirty data before punching a hole (2026-07-14
21:51:52 -0500)

----------------------------------------------------------------
Ten client fixes
- six fallocate fixes
- two unit test fixes
- fix allocation size after duplicate extents
- fix check for overlapping data areas
----------------------------------------------------------------
Andy Shevchenko (2):
smb/client: Use EXPORT_SYMBOL_IF_KUNIT() to export symbols
smb/client: Use EXPORT_SYMBOL_IF_KUNIT() to export symbols in SMB2

Fredric Cover (1):
smb: client: use kvzalloc() for megabyte buffer in simple fallocate

Huiwen He (6):
smb/client: refresh allocation size after duplicate extents
smb/client: handle overlapping allocated ranges in fallocate
smb/client: reduce fallocate zero buffer allocation
smb/client: emulate small EOF-extending mode 0 fallocate ranges
smb/client: refresh allocation after EOF-extending fallocate
smb/client: flush dirty data before punching a hole

Shoichiro Miyamoto (1):
smb: client: reject overlapping data areas in SMB2 responses

fs/smb/client/cifsfs.c | 10 ++-
fs/smb/client/smb1maperror.c | 24 ++---
fs/smb/client/smb1maperror_test.c | 1 +
fs/smb/client/smb2maperror.c | 12 +--
fs/smb/client/smb2maperror_test.c | 1 +
fs/smb/client/smb2misc.c | 34 +++++--
fs/smb/client/smb2ops.c | 183 +++++++++++++++++++++++++++++++++-----
fs/smb/client/smb2pdu.c | 19 ++++
fs/smb/client/smb2proto.h | 3 +
fs/smb/common/fscc.h | 5 ++
fs/smb/server/smb2pdu.h | 4 -
11 files changed, 240 insertions(+), 56 deletions(-)

--
Thanks,

Steve