diff options
author | Josef Bacik <josef@toxicpanda.com> | 2019-06-18 22:09:26 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-07-02 12:30:53 +0200 |
commit | 83d731a5b228454d7c29ec64fdd93426698f97f6 (patch) | |
tree | 46d6f8c6b03bf0e32992517180ad566d64d1a2db /fs/btrfs/space-info.h | |
parent | btrfs: move reserve_metadata_bytes and supporting code to space-info.c (diff) | |
download | linux-83d731a5b228454d7c29ec64fdd93426698f97f6.tar.xz linux-83d731a5b228454d7c29ec64fdd93426698f97f6.zip |
btrfs: unexport can_overcommit
Now that we've moved all of the users to space-info.c, unexport it and
name it back to can_overcommit.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to '')
-rw-r--r-- | fs/btrfs/space-info.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/btrfs/space-info.h b/fs/btrfs/space-info.h index 620d390cf6d2..c2b54b8e1a14 100644 --- a/fs/btrfs/space-info.h +++ b/fs/btrfs/space-info.h @@ -122,10 +122,6 @@ struct btrfs_space_info *btrfs_find_space_info(struct btrfs_fs_info *info, u64 btrfs_space_info_used(struct btrfs_space_info *s_info, bool may_use_included); void btrfs_clear_space_info_full(struct btrfs_fs_info *info); -int btrfs_can_overcommit(struct btrfs_fs_info *fs_info, - struct btrfs_space_info *space_info, u64 bytes, - enum btrfs_reserve_flush_enum flush, - bool system_chunk); void btrfs_dump_space_info(struct btrfs_fs_info *fs_info, struct btrfs_space_info *info, u64 bytes, int dump_block_groups); |