summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/free-space-cache.h
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2011-03-02 09:50:21 +0100
committerLi Zefan <lizf@cn.fujitsu.com>2011-04-25 10:45:59 +0200
commit92c423118105e1c8c1587367a26eeb3277bda89a (patch)
treefff00ab60c0e2b82b0ab5a997ce311e13390bfa9 /fs/btrfs/free-space-cache.h
parentBtrfs: fix free space cache leak (diff)
downloadlinux-92c423118105e1c8c1587367a26eeb3277bda89a.tar.xz
linux-92c423118105e1c8c1587367a26eeb3277bda89a.zip
Btrfs: Remove unused btrfs_block_group_free_space()
We've already recorded the value in block_group->frees_space. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Diffstat (limited to 'fs/btrfs/free-space-cache.h')
-rw-r--r--fs/btrfs/free-space-cache.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/free-space-cache.h b/fs/btrfs/free-space-cache.h
index 65c3b935289f..12b2b5165f8a 100644
--- a/fs/btrfs/free-space-cache.h
+++ b/fs/btrfs/free-space-cache.h
@@ -55,7 +55,6 @@ u64 btrfs_find_space_for_alloc(struct btrfs_block_group_cache *block_group,
u64 offset, u64 bytes, u64 empty_size);
void btrfs_dump_free_space(struct btrfs_block_group_cache *block_group,
u64 bytes);
-u64 btrfs_block_group_free_space(struct btrfs_block_group_cache *block_group);
int btrfs_find_space_cluster(struct btrfs_trans_handle *trans,
struct btrfs_root *root,
struct btrfs_block_group_cache *block_group,