[GIT PULL 18/19 for v7.4] vfs shared super

From: Christian Brauner

Date: Fri Oct 16 2026 - 06:31:45 EST


Hey Linus,

/* Summary */

This renames vfs_get_super() to get_tree_super() and exports it so a
filesystem that needs its own superblock matching policy can reuse it
instead of open-coding sget_fc() plus fill_super(). erofs uses it to
share a superblock between file-backed mounts. This is a branch shared
with the erofs tree so the change may also reach you through the erofs
pull request.

/* Testing */

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 fd73f4a6659897191fa0d40695fe370925dd3780:

Linux 7.3-rc3 (2026-09-13 14:38:02 -0700)

are available in the Git repository at:

git@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-7.4-rc1.shared.super

for you to fetch changes up to ab3c5140acb36ecc02d5408b99aaaa5648f2ba1f:

Merge patch "erofs: share the superblock for file-backed mounts" (2026-10-12 12:47:33 +0200)

----------------------------------------------------------------
vfs-7.4-rc1.shared.super

Please consider pulling these changes from the signed vfs-7.4-rc1.shared.super tag.

Thanks!
Christian

----------------------------------------------------------------
Christian Brauner (1):
Merge patch "erofs: share the superblock for file-backed mounts"

Giuseppe Scrivano (1):
fs: rename vfs_get_super() to get_tree_super() and export it

fs/super.c | 19 +++++++++++++++----
include/linux/fs_context.h | 4 ++++
2 files changed, 19 insertions(+), 4 deletions(-)