[GIT PULL] vfs fixes

From: Christian Brauner
Date: Mon Jun 16 2025 - 04:20:45 EST


Hey Linus,

/* Summary */

This contains another round of fixes for this cycle:

- Fix a regression in overlayfs caused by reworking the lookup_one*()
set of helpers.

- Make sure that the name of the dentry is printed in
overlayfs' mkdir() helper.

- Add missing iocb values to TRACE_IOCB_STRINGS define.

- Unlock the superblock during iterate_supers_type().
This was an accidental internal api change.

- Drop a misleading assert in file_seek_cur_needs_f_lock() helper.

- Never refuse to return PIDFD_GET_INGO when parent pid is zero.
That can trivially happen in container scenarios where the parent
process might be located in an ancestor pid namespace.

- Don't revalidate in try_lookup_noperm() as that causes regression for
filesystems such as cifs.

- Fix simple_xattr_list() and reset the err variable after
security_inode_listsecurity() got called so as not to confuse
userspace about the length of the xattr.

/* Testing */

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

No build failures or warnings were observed.

/* Conflicts */

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

No known conflicts.

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

No known conflicts.

The following changes since commit 5abc7438f1e9d62e91ad775cc83c9594c48d2282:

Merge tag 'nfs-for-6.16-1' of git://git.linux-nfs.org/projects/anna/linux-nfs (2025-06-03 16:13:32 -0700)

are available in the Git repository at:

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

for you to fetch changes up to dd2d6b7f6f519d078a866a36a625b0297d81c5bc:

fs: drop assert in file_seek_cur_needs_f_lock (2025-06-16 09:59:24 +0200)

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

Thanks!
Christian

----------------------------------------------------------------
vfs-6.16-rc3.fixes

----------------------------------------------------------------
Amir Goldstein (2):
ovl: fix regression caused by lookup helpers API changes
ovl: fix debug print in case of mkdir error

Christoph Hellwig (1):
fs: add missing values to TRACE_IOCB_STRINGS

Darrick J. Wong (1):
fs: unlock the superblock during iterate_supers_type

Luis Henriques (1):
fs: drop assert in file_seek_cur_needs_f_lock

Mike Yuan (1):
pidfs: never refuse ppid == 0 in PIDFD_GET_INFO

NeilBrown (1):
VFS: change try_lookup_noperm() to skip revalidation

Stephen Smalley (1):
fs/xattr.c: fix simple_xattr_list()

fs/file.c | 8 ++++++--
fs/namei.c | 17 +++++++++++++----
fs/overlayfs/namei.c | 10 ++++++++--
fs/overlayfs/overlayfs.h | 8 +++++---
fs/pidfs.c | 2 +-
fs/super.c | 4 +++-
fs/xattr.c | 1 +
include/linux/fs.h | 4 +++-
8 files changed, 40 insertions(+), 14 deletions(-)