[GIT PULL 12/12 for v7.1] vfs misc

From: Christian Brauner

Date: Fri Apr 10 2026 - 11:49:21 EST


Hey Linus,

/* Summary */

Features

- coredump: add tracepoint for coredump events
- fs: hide file and bfile caches behind runtime const machinery

Fixes

- fix architecture-specific compat_ftruncate64 implementations
- dcache: Limit the minimal number of bucket to two
- fs/omfs: reject s_sys_blocksize smaller than OMFS_DIR_START
- fs/mbcache: cancel shrink work before destroying the cache
- dcache: permit dynamic_dname()s up to NAME_MAX

Cleanups

- remove or unexport unused fs_context infrastructure
- trivial ->setattr cleanups
- selftests/filesystems: Assume that TIOCGPTPEER is defined
- writeback: fix kernel-doc function name mismatch for wb_put_many()
- autofs: replace manual symlink buffer allocation in autofs_dir_symlink
- init/initramfs.c: trivial fix: FSM -> Finite-state machine
- fs: remove stale and duplicate forward declarations
- readdir: Introduce dirent_size()
- fs: Replace user_access_{begin/end} by scoped user access
- kernel: acct: fix duplicate word in comment
- fs: write a better comment in step_into() concerning .mnt assignment
- fs: attr: fix comment formatting and spelling issues

/* Testing */

gcc (Debian 14.2.0-19) 14.2.0
Debian clang version 19.1.7 (3+b1)

No build failures or warnings were observed.

/* Conflicts */

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

No known conflicts.

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

[1]: https://lore.kernel.org/linux-next/adO9szS5_I7TmAjz@xxxxxxxxxxxxx

This has a merge conflict with:
[1]: https://lore.kernel.org/20260410-vfs-kino-v71-672d31bc705c@brauner

diff --cc fs/affs/inode.c
index e03e9f109ff9,f660e76584b3..000000000000
--- a/fs/affs/inode.c
+++ b/fs/affs/inode.c
@@@ -219,7 -218,7 +218,7 @@@ affs_setattr(struct mnt_idmap *idmap, s
struct inode *inode = d_inode(dentry);
int error;

- pr_debug("notify_change(%llu,0x%x)\n", inode->i_ino, attr->ia_valid);
- pr_debug("setattr(%lu,0x%x)\n", inode->i_ino, attr->ia_valid);
++ pr_debug("setattr(%llu,0x%x)\n", inode->i_ino, attr->ia_valid);

error = setattr_prepare(&nop_mnt_idmap, dentry, attr);
if (error)

The following changes since commit 9702969978695d9a699a1f34771580cdbb153b33:

Merge tag 'slab-for-7.0-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab (2026-02-16 13:41:38 -0800)

are available in the Git repository at:

git@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-7.1-rc1.misc

for you to fetch changes up to 97b67e64affb0e709eeecc50f6a9222fc20bd14b:

dcache: permit dynamic_dname()s up to NAME_MAX (2026-04-07 12:32:22 +0200)

----------------------------------------------------------------
vfs-7.1-rc1.misc

Please consider pulling these changes from the signed vfs-7.1-rc1.misc tag.

Thanks!
Christian

----------------------------------------------------------------
Aleksa Sarai (1):
dcache: permit dynamic_dname()s up to NAME_MAX

Askar Safin (1):
init/initramfs.c: trivial fix: FSM -> Finite-state machine

Breno Leitao (1):
coredump: add tracepoint for coredump events

Chelsy Ratnawat (1):
fs: attr: fix comment formatting and spelling issues

Christian Brauner (3):
Merge patch series "remove or unexport unused fs_conext infrastructure"
Merge patch series "fix architecture-specific compat_ftruncate64 implementations"
Merge patch series "trivial ->setattr cleanups"

Christoph Hellwig (12):
fs: mark bool_names static
fs: remove fsparam_blob / fs_param_is_blob
fs: remove fsparam_path / fs_param_is_path
fs: unexport fs_context_for_reconfigure
fs: fix archiecture-specific compat_ftruncate64
fs: pass on FTRUNCATE_* flags to do_truncate
fs: remove do_sys_truncate
hfs: update comments on hfs_inode_setattr
adfs: rename adfs_notify_change to adfs_setattr
affs: rename affs_notify_change to affs_setattr
proc: rename proc_setattr to proc_nochmod_setattr
proc: rename proc_notify_change to proc_setattr

Christophe Leroy (CS GROUP) (2):
readdir: Introduce dirent_size()
fs: Replace user_access_{begin/end} by scoped user access

HyungJung Joo (2):
fs/omfs: reject s_sys_blocksize smaller than OMFS_DIR_START
fs/mbcache: cancel shrink work before destroying the cache

Kit Dallege (1):
writeback: fix kernel-doc function name mismatch for wb_put_many()

Mark Brown (1):
selftests/filesystems: Assume that TIOCGPTPEER is defined

Mateusz Guzik (2):
fs: write a better comment in step_into() concerning .mnt assignment
fs: hide file and bfile caches behind runtime const machinery

Thorsten Blum (1):
autofs: replace manual symlink buffer allocation in autofs_dir_symlink

Yuto Ohnuki (1):
fs: remove stale and duplicate forward declarations

Zhihao Cheng (1):
dcache: Limit the minimal number of bucket to two

haoyu.lu (1):
kernel: acct: fix duplicate word in comment

Documentation/filesystems/mount_api.rst | 4 -
arch/arm64/kernel/sys32.c | 2 +-
arch/mips/kernel/linux32.c | 2 +-
arch/parisc/kernel/sys_parisc.c | 4 +-
arch/powerpc/kernel/sys_ppc32.c | 2 +-
arch/sparc/kernel/sys_sparc32.c | 2 +-
arch/x86/kernel/sys_ia32.c | 3 +-
fs/adfs/adfs.h | 4 +-
fs/adfs/dir.c | 2 +-
fs/adfs/file.c | 2 +-
fs/adfs/inode.c | 6 +-
fs/affs/affs.h | 2 +-
fs/affs/dir.c | 2 +-
fs/affs/file.c | 2 +-
fs/affs/inode.c | 5 +-
fs/affs/symlink.c | 2 +-
fs/attr.c | 6 +-
fs/autofs/root.c | 8 +-
fs/coredump.c | 5 ++
fs/d_path.c | 11 +--
fs/dcache.c | 4 +-
fs/file.c | 2 +-
fs/file_table.c | 31 ++++---
fs/fs_context.c | 1 -
fs/fs_parser.c | 19 +----
fs/hfs/inode.c | 21 +----
fs/internal.h | 3 +-
fs/mbcache.c | 1 +
fs/namei.c | 2 +-
fs/omfs/inode.c | 6 ++
fs/open.c | 40 +++++----
fs/proc/base.c | 22 ++---
fs/proc/fd.c | 6 +-
fs/proc/generic.c | 8 +-
fs/proc/internal.h | 4 +-
fs/proc/namespaces.c | 4 +-
fs/proc/proc_net.c | 2 +-
fs/readdir.c | 103 +++++++++--------------
fs/select.c | 35 +++-----
include/asm-generic/vmlinux.lds.h | 4 +-
include/linux/backing-dev-defs.h | 2 +-
include/linux/blkdev.h | 1 +
include/linux/fs.h | 3 -
include/linux/fs_parser.h | 8 +-
include/linux/syscalls.h | 16 +---
include/trace/events/coredump.h | 45 ++++++++++
init/initramfs.c | 2 +-
io_uring/truncate.c | 2 +-
kernel/acct.c | 2 +-
tools/testing/selftests/filesystems/devpts_pts.c | 2 -
50 files changed, 225 insertions(+), 252 deletions(-)
create mode 100644 include/trace/events/coredump.h