btrfs-progs/image
Josef Bacik 0c6e59e0b2 btrfs-progs: image: fix invalid size check for extent items
While trying to run down a corruption problem I needed to use
btrfs-image to generate known good states in between tests.  At some
point this started failing with

  either extent tree is corrupted or deprecated extent ref format

This is because the fs had an extent item that was large enough that it
no longer had inline extent references, they were all keyed extent
references.  The check is bogus, we can have extent items that are >=
the extent item size, not just > than the extent item size.  Fix the
check so that we can generate metadata dumps properly.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2020-12-16 17:08:53 +01:00
..
Makefile
main.c btrfs-progs: image: fix invalid size check for extent items 2020-12-16 17:08:53 +01:00
metadump.h btrfs-progs: move ctree.c to kernel-shared/ 2020-08-31 17:01:05 +02:00
sanitize.c
sanitize.h