diff options
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r-- | fs/btrfs/transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index a68779499302..9d84daf10008 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c | |||
@@ -622,7 +622,7 @@ static noinline int create_pending_snapshot(struct btrfs_trans_handle *trans, | |||
622 | btrfs_set_key_type(&key, BTRFS_ROOT_ITEM_KEY); | 622 | btrfs_set_key_type(&key, BTRFS_ROOT_ITEM_KEY); |
623 | 623 | ||
624 | old = btrfs_lock_root_node(root); | 624 | old = btrfs_lock_root_node(root); |
625 | btrfs_cow_block(trans, root, old, NULL, 0, &old); | 625 | btrfs_cow_block(trans, root, old, NULL, 0, &old, 0); |
626 | 626 | ||
627 | btrfs_copy_root(trans, root, old, &tmp, objectid); | 627 | btrfs_copy_root(trans, root, old, &tmp, objectid); |
628 | btrfs_tree_unlock(old); | 628 | btrfs_tree_unlock(old); |