diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-02-09 20:16:41 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-13 21:22:24 -0400 |
commit | 83bd5985fa5437a21f6cf9974e3d023e98af490b (patch) | |
tree | 8532fb966bc83d518e9d80d25b5c8b23fb61f9b1 /fs/bcachefs/btree_iter.c | |
parent | 3254c1b0e5af7fcb90f2feb928e5313c8a53149e (diff) | |
download | linux-stable-83bd5985fa5437a21f6cf9974e3d023e98af490b.tar.gz linux-stable-83bd5985fa5437a21f6cf9974e3d023e98af490b.tar.bz2 linux-stable-83bd5985fa5437a21f6cf9974e3d023e98af490b.zip |
bcachefs: Track iter->ip_allocated at bch2_trans_copy_iter()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_iter.c')
-rw-r--r-- | fs/bcachefs/btree_iter.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/bcachefs/btree_iter.c b/fs/bcachefs/btree_iter.c index 826ad6fa74cf..f7eec6d398f8 100644 --- a/fs/bcachefs/btree_iter.c +++ b/fs/bcachefs/btree_iter.c @@ -2765,6 +2765,9 @@ void bch2_trans_copy_iter(struct btree_iter *dst, struct btree_iter *src) struct btree_trans *trans = src->trans; *dst = *src; +#ifdef TRACK_PATH_ALLOCATED + dst->ip_allocated = _RET_IP_; +#endif if (src->path) __btree_path_get(trans->paths + src->path, src->flags & BTREE_ITER_INTENT); if (src->update_path) |