]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: mask off the rtbitmap and summary inodes when metadir in use
authorDarrick J. Wong <djwong@kernel.org>
Mon, 25 Nov 2024 21:14:25 +0000 (13:14 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:30 +0000 (18:01 -0800)
commit86e2966742f923dde27846bb83661d389b51a7e6
tree94a7e7f747c00d29741d0da7b612de441ba8a86d
parent70c4fd2bc4635a9ab8c3b9907bf7e0eb51a6b314
xfs: mask off the rtbitmap and summary inodes when metadir in use

Source kernel commit: ea99122b18ca6cf902417e1acbc19a197f662299

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>
libxfs/xfs_sb.c