btrfs: move btrfs_verify_level_key into tree-checker.c
authorJosef Bacik <josef@toxicpanda.com>
Sat, 29 Apr 2023 20:07:17 +0000 (16:07 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2023 11:59:25 +0000 (13:59 +0200)
commit2cac5af16537f8eafaba5e525fbb5a93160ebaff
treeea175391dd5c3fefb4e1995ee6175fc69ad5ae48
parentc26fa931eb186a748608b4155fe2f4821738b140
btrfs: move btrfs_verify_level_key into tree-checker.c

This is more a buffer validation helper, move it into the tree-checker
files where it makes more sense.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h
fs/btrfs/tree-checker.c
fs/btrfs/tree-checker.h