Commit 46eea9cb authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix move_ctxt_wait_event()



We shouldn't be evaluating cond again if it already returned true.

This fixes a bug when this helper is used for taking nocow locks.

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