summaryrefslogtreecommitdiff
path: root/transaction.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-05-28 09:36:50 +0300
committerDavid Sterba <dsterba@suse.com>2018-06-07 16:37:37 +0200
commit723cab8a72d2bca14e99ec1320e138ed1ce3c0a6 (patch)
tree79c39141f52396e8dbc1048e133c873a51e6dff3 /transaction.c
parent947c2d56a439c87f244ca9d036b40adb27f5fbdc (diff)
btrfs-progs: Remove fs_info argument from write_ctree_super
This function already takes a transaction handle which has a reference to the fs_info, so use that to obtain it. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: Su Yue <suy.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'transaction.c')
-rw-r--r--transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/transaction.c b/transaction.c
index ad70572..9619265 100644
--- a/transaction.c
+++ b/transaction.c
@@ -168,7 +168,7 @@ commit_tree:
BUG_ON(ret);
ret = __commit_transaction(trans, root);
BUG_ON(ret);
- write_ctree_super(trans, fs_info);
+ write_ctree_super(trans);
btrfs_finish_extent_commit(trans, fs_info->extent_root,
&fs_info->pinned_extents);
kfree(trans);