Commit 70a9953c authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix bch2_journal_pin_set()



When bch2_journal_pin_set() is updating an existing pin, we shouldn't
call bch2_journal_reclaim_fast() after dropping the old pin and before
dropping the new pin - that could reclaim the entry we're trying to pin.

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