Re: [PATCH] btrfs: pass fs_info to routines that always take tree_root

2017-08-17 Thread Jeff Mahoney
On 8/2/17 3:54 PM, je...@suse.com wrote: > From: Jeff Mahoney > > btrfs_find_root and btrfs_del_root always use the tree_root. Let's pass > fs_info instead. This one is broken. btrfs_read_fs_root is called during log tree recovery with the log_root_tree. I'll send an updated

[PATCH] btrfs: pass fs_info to routines that always take tree_root

2017-08-02 Thread jeffm
From: Jeff Mahoney btrfs_find_root and btrfs_del_root always use the tree_root. Let's pass fs_info instead. Signed-off-by: Jeff Mahoney --- fs/btrfs/ctree.h | 7 --- fs/btrfs/disk-io.c | 2 +- fs/btrfs/extent-tree.c | 4 ++--