Anand Jain b5790d5180 btrfs: use helper btrfs_get_block_group
Use the helper function where it is open coded to increment the
block_group reference count 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.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2020-07-27 12:55:21 +02:00
..
2020-03-23 17:02:00 +01:00
2020-07-07 14:10:33 -07:00
2020-05-25 11:25:36 +02:00
2020-05-25 11:25:37 +02:00
2020-07-24 14:11:43 -07:00
2019-11-18 23:43:44 +01:00
2020-07-24 14:11:43 -07:00
2020-03-23 17:01:43 +01:00
2020-01-20 16:40:55 +01:00
2020-05-25 11:25:37 +02:00
2019-11-18 17:51:51 +01:00
2020-05-25 11:25:37 +02:00
2020-05-25 11:25:36 +02:00
2020-05-25 11:25:36 +02:00
2020-06-02 19:59:25 -07:00
2020-05-25 11:25:36 +02:00