xfs: tighten up validation of root block in inode forks
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Feb 2024 20:40:57 +0000 (12:40 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:40:57 +0000 (12:40 -0800)
commitd477f1749f00899c71605ea01aba0ce67e030471
treee4b392d739c1e23fd9a45d99309f8b26b6a51038
parentbd45019d9aa942d1c2457d96a7dbf2ad3051754b
xfs: tighten up validation of root block in inode forks

Check that root blocks that sit in the inode fork and thus have a NULL
bp don't have siblings.

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