diff options
author | Jeff Mahoney <jeffm@suse.com> | 2017-02-15 16:28:29 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-17 12:03:56 +0100 |
commit | 5e00f1939f6e994123589c6e3d307de02b43c914 (patch) | |
tree | a90a8280230e6a7d7c42dc12ad17ee05eb4ffa98 /fs/btrfs/ctree.h | |
parent | 0c9ab349c2058736594ce82531673a1b4645420d (diff) | |
download | linux-stable-5e00f1939f6e994123589c6e3d307de02b43c914.tar.gz linux-stable-5e00f1939f6e994123589c6e3d307de02b43c914.tar.bz2 linux-stable-5e00f1939f6e994123589c6e3d307de02b43c914.zip |
btrfs: convert btrfs_inc_block_group_ro to accept fs_info
btrfs_inc_block_group_ro is either passed the extent root or the dev
root, but it doesn't do anything with the dev tree. Let's convert
to passing an fs_info and using the extent root.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index e7dbda3dd3b8..7455a3e032cf 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -2729,7 +2729,7 @@ int btrfs_cond_migrate_bytes(struct btrfs_fs_info *fs_info, void btrfs_block_rsv_release(struct btrfs_fs_info *fs_info, struct btrfs_block_rsv *block_rsv, u64 num_bytes); -int btrfs_inc_block_group_ro(struct btrfs_root *root, +int btrfs_inc_block_group_ro(struct btrfs_fs_info *fs_info, struct btrfs_block_group_cache *cache); void btrfs_dec_block_group_ro(struct btrfs_block_group_cache *cache); void btrfs_put_block_group_cache(struct btrfs_fs_info *info); |