diff options
| author | Kent Overstreet | 2021-03-23 21:22:50 -0400 |
|---|---|---|
| committer | Kent Overstreet | 2023-10-22 17:08:57 -0400 |
| commit | 08070cba4a378ca02fdb954c45cf9b8797907fe9 (patch) | |
| tree | 8fd771aa76ef38250482baeb048c18646b11ec5a /tools/perf/scripts/python/bin | |
| parent | d3e6b9a14d857382086cd4d4619f13cb92afc522 (diff) | |
bcachefs: Split btree_iter_traverse and bch2_btree_iter_traverse()
External (to the btree iterator code) users of bch2_btree_iter_traverse
expect that on success the iterator will be pointed at iter->pos and
have that position locked - but since we split iter->pos and
iter->real_pos, that means it has to update iter->real_pos if necessary.
Internal users don't expect it to modify iter->real_pos, so we need two
separate functions.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
