]> 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, 2 Oct 2024 01:10:51 +0000 (18:10 -0700)
commit2fa4549005086531eef4ae00a5b9e3da061b10e2
tree97f335d7f3fa3753fe358392034b4a049db696a4
parentfc394913540788520c528630d8b4e01389e4f8f8
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