Re: [PATCH V2 5/7] ext4: get buddy cache after insert successfully

From: Theodore Ts'o
Date: Tue Jun 22 2021 - 23:06:13 EST


On Wed, May 26, 2021 at 04:43:43PM +0800, Wang Jianchao wrote:
> The getting of bd_bitmap_page and bd_buddy_page should be done
> after insert the ext4_free_data successfully. Otherwise, nobody
> can put them.
>
> Signed-off-by: Wang Jianchao <wangjianchao@xxxxxxxxxxxx>

This looks like it's a bug fix for patch 4/7 --- is that correct? If
so, maybe we should fold this into the previous patch?

Thanks,

- Ted