[GIT PULL] vfs fixes

From: Christian Brauner
Date: Mon Nov 17 2025 - 10:57:04 EST


Hey Linus,

/* Summary */

This contains a few fixes for this cycle:

- Fix unitialized variable in statmount_string().

- Fix hostfs mounting when passing host root during boot.

- Fix dynamic lookup to fail on cell lookup failure.

- Fix missing file type when reading bfs inodes from disk.

- Enforce checking of sb_min_blocksize() calls and update all callers
accordingly.

- Restore write access before closing files opened by open_exec() in
binfmt_misc.

- Always freeze efivarfs during suspend/hibernate cycles.

- Fix statmount()'s and listmount()'s grab_requested_mnt_ns() helper to
actually allow mount namespace file descriptor in addition to mount
namespace ids.

- Fix tmpfs remount when noswap is specified.

- Switch Landlock to iput_not_last() to remove false-positives from
might_sleep() annotations in iput().

- Remove dead node_to_mnt_ns() code.

- Ensure that per-queue kobjects are successfully created.

/* Testing */

gcc (Debian 15.2.0-7) 15.2.0
Debian clang version 19.1.7 (10)

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 98ac9cc4b4452ed7e714eddc8c90ac4ae5da1a09:

Merge tag 'f2fs-fix-6.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs (2025-10-16 10:58:49 -0700)

are available in the Git repository at:

git@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.18-rc7.fixes

for you to fetch changes up to e9d50b78fdfe675b038ddaec7a139dbe3082174c:

Merge patch series "fs: add iput_not_last()" (2025-11-12 10:47:52 +0100)

Please consider pulling these changes from the signed vfs-6.18-rc7.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.18-rc7.fixes

----------------------------------------------------------------
Alok Tiwari (1):
virtio-fs: fix incorrect check for fsvq->kobj

Andrei Vagin (1):
fs/namespace: correctly handle errors returned by grab_requested_mnt_ns

Andy Shevchenko (1):
mnt: Remove dead code which might prevent from building

Christian Brauner (3):
Merge patch series "sb_min_blocksize() fixes"
power: always freeze efivarfs
Merge patch series "fs: add iput_not_last()"

David Howells (1):
afs: Fix dynamic lookup to fail on cell lookup failure

Hongbo Li (1):
hostfs: Fix only passing host root in boot stage with new mount

Mateusz Guzik (2):
fs: add iput_not_last()
landlock: fix splats from iput() after it started calling might_sleep()

Mike Yuan (1):
shmem: fix tmpfs reconfiguration (remount) when noswap is set

Tetsuo Handa (1):
bfs: Reconstruct file type when loading from disk

Yongpeng Yang (5):
vfat: fix missing sb_min_blocksize() return value checks
exfat: check return value of sb_min_blocksize in exfat_read_boot_sector
isofs: check the return value of sb_min_blocksize() in isofs_fill_super
xfs: check the return value of sb_min_blocksize() in xfs_fs_fill_super
block: add __must_check attribute to sb_min_blocksize()

Zhen Ni (1):
fs: Fix uninitialized 'offp' in statmount_string()

Zilin Guan (1):
binfmt_misc: restore write access before closing files opened by open_exec()

block/bdev.c | 2 +-
fs/afs/cell.c | 78 +++++++++++++++++++++++++++++++++++++++-------
fs/afs/dynroot.c | 3 +-
fs/afs/internal.h | 12 ++++++-
fs/afs/mntpt.c | 3 +-
fs/afs/proc.c | 3 +-
fs/afs/super.c | 2 +-
fs/afs/vl_alias.c | 3 +-
fs/bfs/inode.c | 19 ++++++++++-
fs/binfmt_misc.c | 4 ++-
fs/efivarfs/super.c | 1 +
fs/exfat/super.c | 5 ++-
fs/fat/inode.c | 6 +++-
fs/fuse/virtio_fs.c | 2 +-
fs/hostfs/hostfs_kern.c | 29 ++++++++++-------
fs/inode.c | 12 +++++++
fs/isofs/inode.c | 5 +++
fs/namespace.c | 46 +++++++++++----------------
fs/super.c | 13 ++++++--
fs/xfs/xfs_super.c | 5 ++-
include/linux/fs.h | 8 +++--
include/uapi/linux/mount.h | 2 +-
kernel/power/hibernate.c | 9 ++----
kernel/power/suspend.c | 3 +-
mm/shmem.c | 15 +++++----
security/landlock/fs.c | 7 ++---
26 files changed, 206 insertions(+), 91 deletions(-)