]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Remove chunk_objectid argument from btrfs_make_block_group
authorNikolay Borisov <nborisov@suse.com>
Thu, 27 Jul 2017 11:22:11 +0000 (14:22 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Aug 2017 15:47:42 +0000 (17:47 +0200)
commit4ab0ae863dd00b668c5b72baae705f09d67a350e
treef78979163a43296459a6168e9b41cbd413932799
parentfce6d6c5d2d88911f28ceaf8a9a61389c8873532
btrfs: Remove chunk_objectid argument from btrfs_make_block_group

btrfs_make_block_group is always called with chunk_objectid set to
BTRFS_FIRST_CHUNK_TREE_OBJECTID. There's no reason why this behavior will
change anytime soon, so let's remove the argument and decrease the cognitive
load when reading the code path. No functional change

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/volumes.c