Re: [PATCH] btrfs: Fix an error handling path in btrfs_read_sys_array()

From: Dan Carpenter
Date: Mon May 16 2022 - 09:54:43 EST


On Sun, May 15, 2022 at 06:57:25AM +0800, Qu Wenruo wrote:
>
>
> On 2022/5/14 20:01, Christophe JAILLET wrote:
> > If alloc_dummy_extent_buffer() we should return an error code, not 0 that
> > would mean success.
> >
> > Fixes: a1fc41ac28d3 ("btrfs: use dummy extent buffer for super block sys chunk array read")
> > Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
>
> Reviewed-by: Qu Wenruo <wqu@xxxxxxxx>
>
> All my fault, thanks for catching it.
> Qu
>

I sent this patch in January and David was going to fold it into the
original patch but it got lost. Thanks, Christophe!

regards,
dan carpenter