xfs: check btree keys reflect the child block
authorDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:08 +0000 (19:00 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:08 +0000 (19:00 -0700)
commitc99f99fa3eafc824ea6859590f5d2e4c6a7f4359
tree1bbd68c42a7f82ed166c6c3e1ad3909c2c0239d5
parent38384569a2a8a721623d80c5ae3bcf80614ab792
xfs: check btree keys reflect the child block

When scrub is checking a non-root btree block, it should make sure that
the keys in the parent btree block accurately capture the keyspace that
the child block stores.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/scrub/btree.c