Commit 83bd5985 authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: Track iter->ip_allocated at bch2_trans_copy_iter()

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 3254c1b0
...@@ -2765,6 +2765,9 @@ void bch2_trans_copy_iter(struct btree_iter *dst, struct btree_iter *src) ...@@ -2765,6 +2765,9 @@ void bch2_trans_copy_iter(struct btree_iter *dst, struct btree_iter *src)
struct btree_trans *trans = src->trans; struct btree_trans *trans = src->trans;
*dst = *src; *dst = *src;
#ifdef TRACK_PATH_ALLOCATED
dst->ip_allocated = _RET_IP_;
#endif
if (src->path) if (src->path)
__btree_path_get(trans->paths + src->path, src->flags & BTREE_ITER_INTENT); __btree_path_get(trans->paths + src->path, src->flags & BTREE_ITER_INTENT);
if (src->update_path) if (src->update_path)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment