btrfs-progs/image
Josef Bacik b3477244f9 btrfs-progs: update read_tree_block to match the kernel definition
The in-kernel version of read_tree_block adds some extra sanity checks
to make sure we don't return blocks that don't match what we expect.
This includes the owning root, the level, and the expected first key.
We don't actually do these checks in btrfs-progs, however kernel code
we're going to sync will expect this calling convention, so update it to
match the in-kernel code and then update all the callers.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2023-05-26 18:02:30 +02:00
..
main.c btrfs-progs: update read_tree_block to match the kernel definition 2023-05-26 18:02:30 +02:00
Makefile btrfs-progs: build: add stub makefile to image and mkfs 2019-07-04 15:36:01 +02:00
metadump.h btrfs-progs: image: rename BLOCK_* to IMAGE_BLOCK_* for metadump 2022-11-28 18:57:43 +01:00
sanitize.c btrfs-progs: use template for out of memory error messages 2022-10-11 09:08:09 +02:00
sanitize.h btrfs-progs: image: update include lists 2022-10-11 09:06:12 +02:00