diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-06-29 22:12:09 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-06-29 22:16:14 -0400 |
commit | 28bc6a37ce7dca5613cfc18264dfb6e6fddcdf33 (patch) | |
tree | 615670539a769613218e914046192c805c422dd7 /drivers/char/drm/drm_pciids.h | |
parent | 0f574c5607390c7462328d37a948ea227507c964 (diff) |
closures: fix closure_sync + closure debuggingbcachefs-for-upstream
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: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'drivers/char/drm/drm_pciids.h')
0 files changed, 0 insertions, 0 deletions