aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/transaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r--fs/btrfs/transaction.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
index 9826942fa18a..57746c11eae3 100644
--- a/fs/btrfs/transaction.c
+++ b/fs/btrfs/transaction.c
@@ -738,9 +738,8 @@ int btrfs_commit_transaction(struct btrfs_trans_handle *trans,
738 chunk_root->node->start); 738 chunk_root->node->start);
739 btrfs_set_super_chunk_root_level(&root->fs_info->super_copy, 739 btrfs_set_super_chunk_root_level(&root->fs_info->super_copy,
740 btrfs_header_level(chunk_root->node)); 740 btrfs_header_level(chunk_root->node));
741 write_extent_buffer(root->fs_info->sb_buffer, 741 memcpy(&root->fs_info->super_for_commit, &root->fs_info->super_copy,
742 &root->fs_info->super_copy, 0, 742 sizeof(root->fs_info->super_copy));
743 sizeof(root->fs_info->super_copy));
744 743
745 btrfs_copy_pinned(root, pinned_copy); 744 btrfs_copy_pinned(root, pinned_copy);
746 745