]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/btrfs/ctree.h
btrfs: convert btrfs_inc_block_group_ro to accept fs_info
authorJeff Mahoney <jeffm@suse.com>
Wed, 15 Feb 2017 21:28:29 +0000 (16:28 -0500)
committerDavid Sterba <dsterba@suse.com>
Fri, 17 Feb 2017 11:03:56 +0000 (12:03 +0100)
commit5e00f1939f6e994123589c6e3d307de02b43c914
treea90a8280230e6a7d7c42dc12ad17ee05eb4ffa98
parent0c9ab349c2058736594ce82531673a1b4645420d
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>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/relocation.c
fs/btrfs/scrub.c