diff options
author | Filipe Manana <fdmanana@suse.com> | 2023-03-21 11:13:53 +0000 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-04-17 18:01:19 +0200 |
commit | d1085c9c52855d307662f1a742e27787a732a6f1 (patch) | |
tree | 7d34b31f06e3084aa3e695c0421f21e55f8fbbd7 /fs/btrfs/space-info.c | |
parent | 007145ff644cc9a2b2b0c3c88ba68824274fcb12 (diff) |
btrfs: constify fs_info argument of the metadata size calculation helpers
The fs_info argument of the helpers btrfs_calc_insert_metadata_size() and
btrfs_calc_metadata_size() is not modified so it can be const. This will
also allow a new helper function in one of the next patches to have its
fs_info argument as const.
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>
Diffstat (limited to 'fs/btrfs/space-info.c')
0 files changed, 0 insertions, 0 deletions