Skip to content
Commit 29f1c1ae authored by Kent Overstreet's avatar Kent Overstreet
Browse files

closures: fix closure_sync + closure debugging



originally, stack closures were only used synchronously, and with the
original implementation of closure_sync() the ref never hit 0; thus,
closure_put_after_sub() assumes that if the ref hits 0 it's on the debug
list, in debug mode.

that's no longer true with the current implementation of closure_sync,
so we need a new magic so closure_debug_destroy() doesn't pop an assert.

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