diff options
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r-- | fs/btrfs/transaction.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index 5ecc24d634a2..1df67129cc3d 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c | |||
@@ -521,7 +521,7 @@ static noinline int add_dirty_roots(struct btrfs_trans_handle *trans, | |||
521 | dirty = root->dirty_root; | 521 | dirty = root->dirty_root; |
522 | 522 | ||
523 | btrfs_free_log(trans, root); | 523 | btrfs_free_log(trans, root); |
524 | btrfs_free_reloc_root(root); | 524 | btrfs_free_reloc_root(trans, root); |
525 | 525 | ||
526 | if (root->commit_root == root->node) { | 526 | if (root->commit_root == root->node) { |
527 | WARN_ON(root->node->start != | 527 | WARN_ON(root->node->start != |
@@ -930,8 +930,6 @@ int btrfs_commit_transaction(struct btrfs_trans_handle *trans, | |||
930 | */ | 930 | */ |
931 | btrfs_free_log_root_tree(trans, root->fs_info); | 931 | btrfs_free_log_root_tree(trans, root->fs_info); |
932 | 932 | ||
933 | btrfs_free_reloc_mappings(root); | ||
934 | |||
935 | ret = btrfs_commit_tree_roots(trans, root); | 933 | ret = btrfs_commit_tree_roots(trans, root); |
936 | BUG_ON(ret); | 934 | BUG_ON(ret); |
937 | 935 | ||