Commit 7dcbdbd8 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: bch2_path_put_nokeep()



The btree iterator code may allocate extra btree paths, temporarily,
that do not refer to keys being returned: we don't need to wait until
transaction restart to drop these, when they're not referenced they
should be deleted right away.

This fixes a transaction path overflow bug.

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