summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_refcount_item.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-09-21 09:15:09 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-09-23 08:58:51 -0700
commite581c9397a25458c06b05f37efce2c480836ef4f (patch)
treeb67096d8d02d7a81aaad2a1ad88975e2c69d2bf6 /fs/xfs/xfs_refcount_item.c
parent8df0fa39bdd86ca81a8d706a6ed9d33cc65ca625 (diff)
xfs: check dabtree node hash values when loading child blocks
When xchk_da_btree_block is loading a non-root dabtree block, we know that the parent block had to have a (hashval, address) pointer to the block that we just loaded. Check that the hashval in the parent matches the block we just loaded. This was found by fuzzing nbtree[3].hashval = ones in xfs/394. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_refcount_item.c')
0 files changed, 0 insertions, 0 deletions