]> 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)
commit8fe9a69355b6d6a4097aec5ffa46a59ad7db27f0
treef78979163a43296459a6168e9b41cbd413932799
parent3298886ece8cd1fb88af28d8923845f4d75a251f
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