mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 11:33:28 +02:00
btrfs: make btrfs_should_periodic_reclaim() static
btrfs_should_periodic_reclaim() is not used outside of space-info.c so make it static and remove the prototype from space-info.h. Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
55f7c65b2f
commit
2a946bf6d6
|
|
@ -2139,7 +2139,7 @@ void btrfs_set_periodic_reclaim_ready(struct btrfs_space_info *space_info, bool
|
|||
}
|
||||
}
|
||||
|
||||
bool btrfs_should_periodic_reclaim(struct btrfs_space_info *space_info)
|
||||
static bool btrfs_should_periodic_reclaim(struct btrfs_space_info *space_info)
|
||||
{
|
||||
bool ret;
|
||||
|
||||
|
|
|
|||
|
|
@ -306,7 +306,6 @@ u64 btrfs_account_ro_block_groups_free_space(struct btrfs_space_info *sinfo);
|
|||
|
||||
void btrfs_space_info_update_reclaimable(struct btrfs_space_info *space_info, s64 bytes);
|
||||
void btrfs_set_periodic_reclaim_ready(struct btrfs_space_info *space_info, bool ready);
|
||||
bool btrfs_should_periodic_reclaim(struct btrfs_space_info *space_info);
|
||||
int btrfs_calc_reclaim_threshold(const struct btrfs_space_info *space_info);
|
||||
void btrfs_reclaim_sweep(const struct btrfs_fs_info *fs_info);
|
||||
void btrfs_return_free_space(struct btrfs_space_info *space_info, u64 len);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user