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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxx>

Reviewed-by: Nikolay Borisov <nborisov@xxxxxxxx>



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux