On 3.06.20 г. 13:10 ч., Anand Jain wrote: > Use the helper function where it is open coded to increment the > block_group reference count 'bg_count' so that it is less confusing > while reviewing the code. As btrfs_get_block_group() is a one-liner > we could have open-coded it, but its partner function > btrfs_put_block_group() isn't one-liner which does the free part in it. > > Signed-off-by: Anand Jain <anand.jain@xxxxxxxxxx> Reviewed-by: Nikolay Borisov <nborisov@xxxxxxxx>
