]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: mask off the rtbitmap and summary inodes when metadir in use
authorDarrick J. Wong <djwong@kernel.org>
Mon, 23 Sep 2024 20:41:39 +0000 (13:41 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 9 Oct 2024 23:26:53 +0000 (16:26 -0700)
commit66028aadefa447a89af306cdec2297d332472497
tree2ef5e17043aa7071828d5266025b8298e0efe6b0
parent50e114036f72a2d163e7ba400a0c24f8b97a7aa0
xfs: mask off the rtbitmap and summary inodes when metadir in use

Set the rtbitmap and summary file inumbers to NULLFSINO in the
superblock and make sure they're zeroed whenever we write the superblock
to disk, to mimic mkfs behavior.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_sb.c