Commit 9a644843 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix error path in bch2_journal_flush_device_pins()

We need to always call bch2_replicas_gc_end() after we've called
bch2_replicas_gc_start(), else we leave state around that needs to be
cleaned up.

Partial fix for: https://github.com/koverstreet/bcachefs/issues/560



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