btrfs: add btrfs_trans_handle->fs_info pointer
authorJeff Mahoney <jeffm@suse.com>
Mon, 20 Jun 2016 21:23:41 +0000 (17:23 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Jul 2016 11:54:26 +0000 (13:54 +0200)
commit64b63580728ef19137d35363a1c28794b70ad416
treef78944d4590ee07bbdea3559712adc4973946d3a
parent05f9a780129c81dfd70ae827a9abb15c7e6321a8
btrfs: add btrfs_trans_handle->fs_info pointer

btrfs_trans_handle->root is documented as for use for confirming
that the root passed in to start the transaction is the same as the
one ending it.  It's used in several places when an fs_info pointer
is needed, so let's just add an fs_info pointer directly.  Eventually,
the root pointer can be removed.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c
fs/btrfs/qgroup.c
fs/btrfs/transaction.c
fs/btrfs/transaction.h