aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r--fs/btrfs/ctree.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index 08ddf1873ab1..bef61ee883e1 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -88,8 +88,6 @@ static int __btrfs_cow_block(struct btrfs_trans_handle *trans,
88 if (IS_ERR(cow)) 88 if (IS_ERR(cow))
89 return PTR_ERR(cow); 89 return PTR_ERR(cow);
90 90
91 cow->alloc_addr = (unsigned long)__builtin_return_address(0);
92
93 copy_extent_buffer(cow, buf, 0, 0, cow->len); 91 copy_extent_buffer(cow, buf, 0, 0, cow->len);
94 btrfs_set_header_bytenr(cow, cow->start); 92 btrfs_set_header_bytenr(cow, cow->start);
95 btrfs_set_header_generation(cow, trans->transid); 93 btrfs_set_header_generation(cow, trans->transid);
@@ -151,7 +149,6 @@ int btrfs_cow_block(struct btrfs_trans_handle *trans,
151 search_start = buf->start & ~((u64)BTRFS_BLOCK_GROUP_SIZE - 1); 149 search_start = buf->start & ~((u64)BTRFS_BLOCK_GROUP_SIZE - 1);
152 ret = __btrfs_cow_block(trans, root, buf, parent, 150 ret = __btrfs_cow_block(trans, root, buf, parent,
153 parent_slot, cow_ret, search_start, 0); 151 parent_slot, cow_ret, search_start, 0);
154 (*cow_ret)->alloc_addr = (unsigned long)__builtin_return_address(0);
155 return ret; 152 return ret;
156} 153}
157 154