Re: [PATCH v2 04/10] btrfs: relocation: Rename mark_block_processed() and __mark_block_processed()

Nikolay Borisov
2020-03-02T17:21:35Z

On 2.03.20 г. 11:45 ч., Qu Wenruo wrote:
> These two functions are weirdly named, mark_block_processed() in fact
> just mark a range dirty unconditionally, while __mark_block_processed()
> does extra check before doing the marking.
>
> This patch will open code old mark_block_processed, and rename
> __mark_block_processed() to remove the "__" prefix.
>
> Since we're here, also kill the forward declaration, which could also
> kill in_block_group() with in_range() macro.
>
> Signed-off-by: Qu Wenruo <wqu@suse.com>

Reviewed-by: Nikolay Borisov <nborisov@suse.com>