Skip to content
Commit 0117591e authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Don't drop journal pins in exit path



There's no need to drop journal pins in our exit paths - the code was
trying to have everything cleaned up on any shutdown, but better to just
tweak the assertions a bit.

This fixes a bug where calling into journal reclaim in the exit path
would cass a null ptr deref.

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