btrfs: remove superfluous chunk_tree argument from btrfs_alloc_dev_extent
authorNikolay Borisov <nborisov@suse.com>
Fri, 18 Aug 2017 14:58:23 +0000 (17:58 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Aug 2017 16:30:30 +0000 (18:30 +0200)
commitb5d9071c4f5c087614eb477bff04795e325bea70
tree49c594ecc27d89ba14aa75511c536f066797589f
parent0ca00afb2b8ab37e543e4daa650bf6bdab2005da
btrfs: remove superfluous chunk_tree argument from btrfs_alloc_dev_extent

Currently this function is always called with the object id of the root
key of the chunk_tree, which is always BTRFS_CHUNK_TREE_OBJECTID. So
let's subsume it straight into the function itself. No functional
change.

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