summaryrefslogtreecommitdiff
path: root/transaction.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-08-28 17:43:10 +0200
committerDavid Sterba <dsterba@suse.com>2017-09-08 16:15:05 +0200
commit0ee0b57f0b7ebfa72a2525afeecc353fd74aca03 (patch)
tree2ff809541a07d656449a36e4d23f48f63576fd23 /transaction.c
parentf2b0cbe8e83229512a6a0583f847e8e17e4cd0eb (diff)
btrfs-progs: store pointer to fs_info in transaction handle
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'transaction.c')
-rw-r--r--transaction.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/transaction.c b/transaction.c
index 80aa7bc..6677a22 100644
--- a/transaction.c
+++ b/transaction.c
@@ -38,6 +38,7 @@ struct btrfs_trans_handle* btrfs_start_transaction(struct btrfs_root *root,
kfree(h);
return ERR_PTR(-EINVAL);
}
+ h->fs_info = fs_info;
fs_info->running_transaction = h;
fs_info->generation++;
h->transid = fs_info->generation;