]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1824936f15fce1a4ed809d8e258253787cc7e6dc
tree582544564793a2008980874bb348848fca3f22cf
parent1fe8513f8442309059cb2afae8d786a3fda52d29
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