Commit 72e71bf0 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix a scheduler splat in __bch2_next_write_buffer_flush_journal_buf()



We're using mutex_lock() inside a wait_event() conditional -
prepare_to_wait() has already flipped task state, so potentially
blocking ops need annotation.

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