0c6e59e0b2
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> |
||
---|---|---|
.. | ||
Makefile | ||
main.c | ||
metadump.h | ||
sanitize.c | ||
sanitize.h |