btrfs: block-group: rename write_one_cache_group()
authorQu Wenruo <wqu@suse.com>
Mon, 4 May 2020 23:58:23 +0000 (07:58 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 May 2020 09:25:31 +0000 (11:25 +0200)
commit3be4d8efe3cf218350cf2c3f39136a636698c572
tree58ae5c6f739a27e583d56a6b6c899dcf98e9c7be
parent97f4728af88822ddd13941c3ac84a4ce3a9ff823
btrfs: block-group: rename write_one_cache_group()

The name of this function contains the word "cache", which is left from
the times where btrfs_block_group was called btrfs_block_group_cache.

Now this "cache" doesn't match anything, and we have better namings for
functions like read/insert/remove_block_group_item().

Rename it to update_block_group_item().

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/block-group.c