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

bcachefs: Simplify bch2_bkey_drop_ptrs()



bch2_bkey_drop_ptrs() had a some complicated machinery for avoiding
O(n^2) when dropping multiple pointers - but when n is only going to be
~4, it's not worth it.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent ec36573d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment