Btrfs: move the extent buffer radix tree into the fs_info
authorJosef Bacik <jbacik@fb.com>
Mon, 16 Dec 2013 18:24:27 +0000 (13:24 -0500)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:19:55 +0000 (13:19 -0800)
I need to create a fake tree to test qgroups and I don't want to have to setup a
fake btree_inode.  The fact is we only use the radix tree for the fs_info, so
everybody else who allocates an extent_io_tree is just wasting the space anyway.
This patch moves the radix tree and its lock into btrfs_fs_info so there is less
stuff I have to fake to do qgroup sanity tests.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h

Simple merge
Simple merge
Simple merge
Simple merge