Re: [PATCH] btrfs-progs: bug fixes

Chris Mason
2009-10-02T19:09:57Z

On Fri, Oct 02, 2009 at 02:35:20PM +0900, TARUISI Hiroaki wrote:
> Hi,
>
> I have tested btrfsck in some error case, such as item missing
> case or CRC error case or so. In this test session I found some
> bugs in btrfsck.c and disk-io.c in btrfs-progs.
> 1. The last pair of ptrs and items are not checked at 2 place
> of check_node/leaf.
> 2. Csum printed CRC error message is not correct.
> 3. In CRC error, btrfsck fails in segmentation fault.
>
> I'll post three tiny patches to fix these bugs.

Thank you for spending time in the btrfsck code. I'll test these out
and get them pushed into the btrfs-progs repository.

-chris