btrfs: constify fs_info argument for the reclaim items calculation helpers
authorFilipe Manana <fdmanana@suse.com>
Tue, 21 Mar 2023 11:13:54 +0000 (11:13 +0000)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Apr 2023 16:01:19 +0000 (18:01 +0200)
commitf4160ee8789806a74445db3592b08fdd8eceeea2
treebd0e19c68456d699a29f249ba0b701f45330a738
parentd1085c9c52855d307662f1a742e27787a732a6f1
btrfs: constify fs_info argument for the reclaim items calculation helpers

Now that btrfs_calc_insert_metadata_size() can take a const fs_info
argument, make the fs_info argument of calc_reclaim_items_nr() and of
calc_delayed_refs_nr() const as well.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/space-info.c