On Wed, Sep 27, 2017 at 02:34:35PM +0800, Su Yue wrote: > The head three patches is independent from later two. > Include: > 1) Let check_extent_refs() return error instead of 0 if something wrong > is found in original mode. > 2) repair_root_items() should be called before any repair. Put it > before do_check_chunks_and_extents(); > 3) Error status should not be modified if repair_root_items() succeeded > in original repair. > > The late two patches are about invalid type in extent_inline_ref. > > Only original mode applied 001-003 patches can handle the case in the > last patch. So I gather those 5 patches together. > > > Su Yue (5): > btrfs-progs: check: return value of check_extent_refs() > btrfs-progs: check: call repair_root_items() before any repair > btrfs-progs: check: error or return value of repair_root_items() > btrfs-progs: check: check extent_inline_ref in lowmem > btrfs-progs: fsck-tests: 027/bad_extent_inline_ref_type 1-5 applied, with minor adjustments. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
