]> 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>
Thu, 22 Aug 2024 15:59:58 +0000 (08:59 -0700)
committerChristoph Hellwig <hch@lst.de>
Sun, 22 Sep 2024 08:01:31 +0000 (10:01 +0200)
commitcb9792cd3ebd5061ab4de44d6b7a5e5e94b1c16c
tree617b43569abd18335935f9c7d6b36715840bd03c
parentd2e2931aff1155b48cbeceb1a2c32b7a98d9fce0
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