linux-next: manual merge of the vfs-brauner tree with the vfs-brauner-fixes tree

From: Mark Brown

Date: Fri Nov 20 2026 - 09:38:56 EST


Hi all,

Today's linux-next merge of the vfs-brauner tree got a conflict in:

include/linux/fs/super_types.h

between commit:

1e026a4556f68 ("fs: reintroduce SB_I_MULTIROOT")

from the vfs-brauner-fixes tree and commits:

30f726feea9bd ("vfs: add O_CREAT|O_DIRECTORY to open*(2)")
bfd7be31a5a75 ("fs: add SB_I_PSEUDO")
1e05d7077d1ea ("fs: add a generic emergency read-only state")

from the vfs-brauner tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

diff --cc include/linux/fs/super_types.h
index b09e8b2087252,4454e3574b2cc..0000000000000
--- a/include/linux/fs/super_types.h
+++ b/include/linux/fs/super_types.h
@@@ -359,6 -362,23 +362,24 @@@ struct super_block
#define SB_I_NOIDMAP 0x00002000 /* No idmapped mounts on this superblock */
#define SB_I_ALLOW_HSM 0x00004000 /* Allow HSM events on this superblock */
#define SB_I_NO_DATA_INTEGRITY 0x00008000 /* fs cannot guarantee data persistence on sync */
-#define SB_I_NO_ATOMIC_MKDIR 0x00010000 /* no O_CREAT|O_DIRECTORY on this fs */
-#define SB_I_PSEUDO 0x00020000 /* regular files are kernel interfaces, not storage */
+#define SB_I_MULTIROOT 0x00010000 /* Multiple roots to the dentry tree */
++#define SB_I_NO_ATOMIC_MKDIR 0x00020000 /* no O_CREAT|O_DIRECTORY on this fs */
++#define SB_I_PSEUDO 0x00040000 /* regular files are kernel interfaces, not storage */
+
+ /*
+ * sb->s_state bit numbers. Set with set_bit() from any context without
+ * s_umount and never cleared, so they can be tested without any ordering
+ * against the setter. Unlike SB_RDONLY which only changes under s_umount in
+ * reconfigure_super().
+ */
+ enum sb_state_bits {
+ /*
+ * An error made the filesystem read-only. The VFS refuses modifications
+ * with EROFS, a remount to read-write and a new freeze until umount and
+ * doesn't sync the superblock anymore. The filesystem still has to
+ * refuse what doesn't pass through the VFS, see sb_emergency_ro().
+ */
+ SB_STATE_EMERGENCY_RO = 0,
+ };

#endif /* _LINUX_FS_SUPER_TYPES_H */

Attachment: signature.asc
Description: PGP signature