btrfs-progs: mkfs/rootdir: Fix inline extent creation check
[platform/upstream/btrfs-progs.git] / free-space-cache.h
index 85411a1..707fb6d 100644 (file)
@@ -57,4 +57,8 @@ int btrfs_init_free_space_ctl(struct btrfs_block_group_cache *block_group,
                              int sectorsize);
 void unlink_free_space(struct btrfs_free_space_ctl *ctl,
                       struct btrfs_free_space *info);
+int btrfs_add_free_space(struct btrfs_free_space_ctl *ctl, u64 offset,
+                        u64 bytes);
+int btrfs_clear_free_space_cache(struct btrfs_fs_info *fs_info,
+                                struct btrfs_block_group_cache *bg);
 #endif