Skip to content
Commit 853960d0 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Simplify, fix bch2_backpointer_get_key()



 - backpointer_not_found() checks backpointers_no_use_write_buffer, no
   need to do it inbackpointer_get_key().

 - always use backpointer_get_node() for pointers to nodes:
   backpointer_get_key() was sometimes returning the key from the root
   node unlocked.

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