Skip to content
Commit 2581f89a authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: backpointer_get_key: check for null from peek_slot()



peek_slot() doesn't normally return bkey_s_c_null - except when we ask
for a key at a btree level that doesn't exist, which can happen here.

We might want to revisit this, but we'll have to look over all the
places where we use peek_slot() on interior nodes.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 39ebd748
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment