From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796050923; b=z1Y/EAYuSHTnBZgko4tx/XYMqkxIQTP4GSiXoFM54h93omel8MfQHICoLE3QUpo4oCdY MWiVgBYBQZu3V4Ef6BkyUbClNjIxlyDG0XkPKbOdNTE2IypGFpV83PMZR3oWvtn6nhzwb q9j4GKz4BltycXtEkc3hMJmkB/XoWie7sgTOLY6ie7CzM4fYKvVvUECw1EGBqYFdbp5Tr Zx3iQLEWN2PFUMDVUBrim82gN+Hq/Qx6jhS41mubvdfp6idB1gWhxUpKogIeIZgLi3xmv VQOA/y0PBSEHsm6gmkRSVc8A6CwY6G6ocAuzp/09LZ3R54wQ+O3OvRc7RZJrsKu0CnA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796050923; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: MIME-Version:Content-Type:Content-Disposition; bh=2Z2hXbsuLug0cyGLk99sgPF353kUXfy0fDOEO3Hf3Fk=; b=uOxf679Pxb7Uebk/8E9WVt9v+LZCHki2VrI8VEyVCMNZcThevOzMIxheOsadyPh/ac6t VShi0RZryt9HFgN+znvwmZH5FVJSuIE6wkLqVedVLNZHaDs8kW3GqMruiMFZyCPdQ9MPp wZr2Zq8C0R2PdRgwsztD4ZPDqbMdZlJ5sTmqRrSskFAifs9N9IvqqHm+b4DF1nraTrogq YX4CA0Ls4+osEEzVbT9K95q4xoHlWKJ7UUpgj7BHtDUMa3hO73MOblZXzEmgKiDxnE+Ls 5NFq5a+jVQ6ZurYtGJAjJLXmsaHXaqXyGuMKEKP6qBD2Inm1Jny6M3w26VZM9jM4vJQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JFZ+H1SC; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 88400606A31C; Mon, 30 Nov 2026 15:02:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JFZ+H1SC Received: by smtp.kernel.org (Postfix) with ESMTPSA id D03DA1F00923; Mon, 30 Nov 2026 15:02:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796050922; bh=2Z2hXbsuLug0cyGLk99sgPF353kUXfy0fDOEO3Hf3Fk=; h=Date:From:To:Cc:Subject; b=JFZ+H1SCnTSussr9B7OR7ciTJxjMjwhZU0ZqrWGGIwt4fpo/Z8KGmjOv8TewjuFd9 QA6SYeqVe+d7Frpdfejwz9XYjPKbKZbxl2Xp2xq72xXMy5qn5xdJQWfWlH+BpVJXzE 6OY5g9i6cKlfeHBtDBd7XPIewNMBGcLywA5vQacXNsXGB4n2rh/0obn4NkVCKTCzbk xYmoDKwBlg/RJMg3sWh1QgUFpLuNao4BjEYMrsbfveA1AC7WEBdgPt23qIVLZBf63I YFCUjOJ+U+2QT5YqeWErDbsxH1RB2FBSPYP9A6ADgJUiG78TrPopcj+oR71okjfnFg spIccQBkN+bCw== Date: Mon, 30 Nov 2026 15:01:59 +0000 From: Mark Brown To: Christian Brauner Cc: Jori Koolstra , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: manual merge of the vfs-brauner tree with the vfs-brauner-fixes tree Message-ID: X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yEsw6HpeikY4u3pb" Content-Disposition: inline --yEsw6HpeikY4u3pb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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") =66rom the vfs-brauner-fixes tree and commits: cbfd0fdfd05af ("vfs: add O_CREAT|O_DIRECTORY to open*(2)") bfd7be31a5a75 ("fs: add SB_I_PSEUDO") 1e05d7077d1ea ("fs: add a generic emergency read-only state") =66rom 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 --combined include/linux/fs/super_types.h index b09e8b2087252,12604eea82bac..0000000000000 --- a/include/linux/fs/super_types.h +++ b/include/linux/fs/super_types.h @@@ -245,6 -245,9 +245,9 @@@ struct super_block=20 /* Read-only state of the superblock is being changed */ int s_readonly_remount; =20 + /* SB_STATE_* bits, set with set_bit() and never cleared */ + unsigned long s_state; +=20 /* per-sb errseq_t for reporting writeback errors via syncfs */ errseq_t s_wb_err; =20 @@@ -360,5 -363,23 +363,23 @@@ #define SB_I_ALLOW_HSM 0x00004000 /* Allow HSM events on this superblock = */ #define SB_I_NO_DATA_INTEGRITY 0x00008000 /* fs cannot guarantee data per= sistence on sync */ #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, no= t storage */ +=20 + /* + * 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 =3D 0, + }; =20 #endif /* _LINUX_FS_SUPER_TYPES_H */ --yEsw6HpeikY4u3pb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmsNj+YACgkQJNaLcl1U h9AENwf/diXir5behh/oOtqvgL9cd9HZ+WprD5q/jPAFIA491xZpfxDUcDjLteNC /qjDvUj9LFBtihvL0bStWvoL312eKxJ0IQImTFoLJcgr9Zk0rgwL0U71P34LCWCo pAtGAoCRYJiuxGVnC7I7rMAVzfYxku0OaEZ2REuqEzNOTTYwuphNRDYDodv5opIv 25gNtFrf9QMN3c997470DTqp4PPVX/kHQ5eRugG+T/UDGXkTot3o3Qg9PPfxjVJb hG2nS7jDceefUANo7dZTIkL0d8HFDg2iIIngvszrlBnKMwJD96SvMSTW8Zp4+G0c HLFGV8+3J59DuJRhQpFWmfWTqzdOgA== =G0Kp -----END PGP SIGNATURE----- --yEsw6HpeikY4u3pb--