]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: sink total_data parameter in setup_items_for_insert
authorNikolay Borisov <nborisov@suse.com>
Tue, 1 Sep 2020 14:39:59 +0000 (17:39 +0300)
committerDavid Sterba <dsterba@suse.com>
Wed, 7 Oct 2020 10:13:18 +0000 (12:13 +0200)
commitfc0d82e103c78faa98cf61e681b45618e879b63d
treecc0a57421e41b732aac0afebe0ba1a8a52af610b
parent3dc9dc8969dc738285cb7d43e852c98459c8f0a9
btrfs: sink total_data parameter in setup_items_for_insert

That parameter can easily be derived based on the "data_size" and "nr"
parameters exploit this fact to simply the function's signature. No
functional changes.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
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/ctree.c
fs/btrfs/ctree.h
fs/btrfs/delayed-inode.c
fs/btrfs/file.c
fs/btrfs/tests/extent-buffer-tests.c
fs/btrfs/tests/inode-tests.c