Merge branch 'for-linus-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/mason...
[cascardo/linux.git] / fs / btrfs / free-space-cache.h
index 3af651c..363fdd9 100644 (file)
@@ -89,13 +89,15 @@ int btrfs_write_out_ino_cache(struct btrfs_root *root,
                              struct inode *inode);
 
 void btrfs_init_free_space_ctl(struct btrfs_block_group_cache *block_group);
-int __btrfs_add_free_space(struct btrfs_free_space_ctl *ctl,
+int __btrfs_add_free_space(struct btrfs_fs_info *fs_info,
+                          struct btrfs_free_space_ctl *ctl,
                           u64 bytenr, u64 size);
 static inline int
 btrfs_add_free_space(struct btrfs_block_group_cache *block_group,
                     u64 bytenr, u64 size)
 {
-       return __btrfs_add_free_space(block_group->free_space_ctl,
+       return __btrfs_add_free_space(block_group->fs_info,
+                                     block_group->free_space_ctl,
                                      bytenr, size);
 }
 int btrfs_remove_free_space(struct btrfs_block_group_cache *block_group,