Btrfs: superblock duplication
[linux-2.6-block.git] / fs / btrfs / transaction.c
index c38f6a0e30b1e777422b3fb6a23f6df86ffc7a90..47cd5fcad2c83f15043d8d16ff636d18f4ae083b 100644 (file)
@@ -1038,7 +1038,7 @@ int btrfs_commit_transaction(struct btrfs_trans_handle *trans,
        mutex_unlock(&root->fs_info->trans_mutex);
        ret = btrfs_write_and_wait_transaction(trans, root);
        BUG_ON(ret);
-       write_ctree_super(trans, root);
+       write_ctree_super(trans, root, 0);
 
        /*
         * the super is written, we can safely allow the tree-loggers