Commit a52a4da4 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: bch2_btree_path_peek_slot_exact()



When we start using the key cache for inodes again, it'll be possible
for bch2_btree_path_peek_slot() to return a key in a different snapshot
with a key cache path.

This isn't what we want when triggers are checking what they're
overwriting, so introduce a new helper for the commit path.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 52bf51b9
Supports Markdown
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