btrfs: btrfs_relocate_chunk pass extent_root to btrfs_end_transaction
authorJeff Mahoney <jeffm@suse.com>
Fri, 24 Jun 2016 20:37:38 +0000 (16:37 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Jul 2016 11:54:25 +0000 (13:54 +0200)
commit05f9a780129c81dfd70ae827a9abb15c7e6321a8
tree582544564793a2008980874bb348848fca3f22cf
parent1db1ff92b6ce2247999787480c2eeb63a1811e79
btrfs: btrfs_relocate_chunk pass extent_root to btrfs_end_transaction

In btrfs_relocate_chunk, we get a transaction handle via
btrfs_start_trans_remove_block_group, which starts the transaction
using the extent root.  When we call btrfs_end_transaction, we're calling
it using the chunk root.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c