diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-12-09 16:22:36 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:47 -0400 |
commit | ef0732861a3af5bd1c5b08b6f64ca5b2cbee04bc (patch) | |
tree | 255c68a9ff5263a6a12d8739965184b23f4d1822 /fs/bcachefs/btree_gc.c | |
parent | 4f948723eda1ca44e470c31fcab4a453ed53aa13 (diff) |
bcachefs: Add a missing bch2_btree_path_traverse() call
bch2_btree_iter_peek_upto() in snapshots mode may need to keep a
btree_path for the insert position, not just the position of the key
we're returning. The code was incorrectly assuming this would be in the
same btree node - we were missing a bch2_btree_path_traverse() call.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_gc.c')
0 files changed, 0 insertions, 0 deletions