aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/free-space-cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/free-space-cache.h')
-rw-r--r--fs/btrfs/free-space-cache.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/btrfs/free-space-cache.h b/fs/btrfs/free-space-cache.h
index 45be29e5f01e..189f740bd3c0 100644
--- a/fs/btrfs/free-space-cache.h
+++ b/fs/btrfs/free-space-cache.h
@@ -34,10 +34,15 @@ int create_free_space_inode(struct btrfs_root *root,
34 struct btrfs_trans_handle *trans, 34 struct btrfs_trans_handle *trans,
35 struct btrfs_block_group_cache *block_group, 35 struct btrfs_block_group_cache *block_group,
36 struct btrfs_path *path); 36 struct btrfs_path *path);
37
37int btrfs_truncate_free_space_cache(struct btrfs_root *root, 38int btrfs_truncate_free_space_cache(struct btrfs_root *root,
38 struct btrfs_trans_handle *trans, 39 struct btrfs_trans_handle *trans,
39 struct btrfs_path *path, 40 struct btrfs_path *path,
40 struct inode *inode); 41 struct inode *inode);
42int btrfs_write_out_cache(struct btrfs_root *root,
43 struct btrfs_trans_handle *trans,
44 struct btrfs_block_group_cache *block_group,
45 struct btrfs_path *path);
41int btrfs_add_free_space(struct btrfs_block_group_cache *block_group, 46int btrfs_add_free_space(struct btrfs_block_group_cache *block_group,
42 u64 bytenr, u64 size); 47 u64 bytenr, u64 size);
43int btrfs_remove_free_space(struct btrfs_block_group_cache *block_group, 48int btrfs_remove_free_space(struct btrfs_block_group_cache *block_group,