bcachefs: Fix failure to suspend
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
c2fcff5973
commit
f43cc5be6e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user