]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: tighten up validation of root block in inode forks
authorChristoph Hellwig <hch@lst.de>
Mon, 22 Apr 2024 17:01:08 +0000 (10:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:39 +0000 (11:37 -0700)
commit694ce31a1c7c7612654e35c1ec6718bb8f77fc75
tree4a115f94d3155f46c4e85962db938705dd2ed70e
parent244803ebeef20d8b004e34cab0ee84cfe7d3b7c8
xfs: tighten up validation of root block in inode forks

Source kernel commit: d477f1749f00899c71605ea01aba0ce67e030471

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>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
libxfs/xfs_btree.c