Commit f43cc5be authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet

bcachefs: Fix failure to suspend

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent c2fcff59
......@@ -504,7 +504,6 @@ int bch2_move_data(struct bch_fs *c,
if (unlikely(freezing(current))) {
bch2_btree_iter_unlock(&stats->iter);
move_ctxt_wait_event(&ctxt, list_empty(&ctxt.reads));
closure_sync(&ctxt.cl);
try_to_freeze();
}
} while (delay);
......
Markdown is supported
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