diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-17 03:39:03 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 11:47:43 -0500 |
commit | 0bc64d7e2649f735eaa4ba7d422da446505ef89a (patch) | |
tree | 9aad18abf5915911c656285611c16fbd1d26bd60 /fs/bcachefs/btree_iter.c | |
parent | 4eb3877eaeba4feb81b260ff48a2063ca296ac74 (diff) |
bcachefs: kill __bch2_btree_iter_peek_upto_and_restart()
dead code
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_iter.c b/fs/bcachefs/btree_iter.c index 72da7bedbe50..79e6ec7b9a52 100644 --- a/fs/bcachefs/btree_iter.c +++ b/fs/bcachefs/btree_iter.c @@ -2285,7 +2285,7 @@ struct bkey_s_c bch2_btree_iter_peek_prev(struct btree_iter *iter) goto got_key; } - if (bch2_snapshot_is_ancestor(iter->trans->c, + if (bch2_snapshot_is_ancestor(trans->c, iter->snapshot, k.k->p.snapshot)) { if (saved_path) |