On Tue, Jun 02, 2020 at 07:05:55PM +0900, Johannes Thumshirn wrote:
> While trying to learn the Block Group code I've found some cleanup
> possibilities for find_first_block_group().
>
> Here's a proposal to make $ffbg a bit more easier to read by untangling the
> gotos and if statements.
>
> The patch set is based on misc-next from May 26 morning with
> HEAD 3f4a266717ed ("btrfs: split btrfs_direct_IO to read and write part")
> and xfstests showed no regressions to the base misc-next in my test setup.
>
> Changes to v2:
> - Dropped label removal patch (David)
> - Don't return early inside the loop (David)
Thanks, added to misc-next.