]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb3669f8e9c3080f9151c123caa5b0ab5bfa9155d
tree58ae5c6f739a27e583d56a6b6c899dcf98e9c7be
parent82ea9e2f6cccc9b7646b7285c65bc3a79aad91d7
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