[GIT PULL for v7.0] vfs fixes

From: Christian Brauner

Date: Wed Mar 04 2026 - 17:21:47 EST


Hey Linus,

/* Summary */

This contains a few fixes for this cycle:

- kthread: consolidate kthread exit paths to prevent use-after-free

- iomap: don't mark folio uptodate if read IO has bytes pending

- iomap: don't mark folio uptodate if read IO has bytes pending

- iomap: don't report direct-io retries to fserror

- ns: tighten visibility checks

- netfs: Fix unbuffered/DIO writes to dispatch subrequests in strict sequence

- iomap: reject delalloc mappings during writeback

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

The following changes since commit d9d32e5bd5a4e57675f2b70ddf73c3dc5cf44fc2:

Merge tag 'ata-7.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux (2026-02-25 10:41:14 -0800)

are available in the Git repository at:

git@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-7.0-rc3.fixes

for you to fetch changes up to d320f160aa5ff36cdf83c645cca52b615e866e32:

iomap: reject delalloc mappings during writeback (2026-03-04 14:31:56 +0100)

----------------------------------------------------------------
vfs-7.0-rc3.fixes

Please consider pulling these changes from the signed vfs-7.0-rc3.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
Christian Brauner (7):
kthread: consolidate kthread exit paths to prevent use-after-free
nsfs: tighten permission checks for ns iteration ioctls
nsfs: tighten permission checks for handle opening
nstree: tighten permission checks for listing
selftests: fix mntns iteration selftests
Merge patch series "tighten nstree visibility checks"
Merge patch "iomap: don't mark folio uptodate if read IO has bytes pending"

Darrick J. Wong (2):
iomap: don't report direct-io retries to fserror
iomap: reject delalloc mappings during writeback

David Howells (1):
netfs: Fix unbuffered/DIO writes to dispatch subrequests in strict sequence

Joanne Koong (1):
iomap: don't mark folio uptodate if read IO has bytes pending

fs/iomap/buffered-io.c | 15 +-
fs/iomap/direct-io.c | 15 +-
fs/iomap/ioend.c | 13 +-
fs/netfs/direct_write.c | 228 +++++++++++++++++++--
fs/netfs/internal.h | 4 +-
fs/netfs/write_collect.c | 21 --
fs/netfs/write_issue.c | 41 +---
fs/nsfs.c | 15 +-
include/linux/kthread.h | 21 +-
include/linux/ns_common.h | 2 +
include/trace/events/netfs.h | 4 +-
kernel/exit.c | 6 +
kernel/kthread.c | 41 +---
kernel/nscommon.c | 6 +
kernel/nstree.c | 29 +--
.../selftests/filesystems/nsfs/iterate_mntns.c | 25 ++-
16 files changed, 326 insertions(+), 160 deletions(-)