]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: mask off the rtbitmap and summary inodes when metadir in use
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:19:31 +0000 (20:19 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:43 +0000 (13:38 -0800)
commitea99122b18ca6cf902417e1acbc19a197f662299
tree469615e012b836bee7a59eb6f99f25db29c951f4
parenta74923333d9c3bc7cae3f8820d5e80535dca1457
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