bcachefs: Fix failure to suspend

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2018-10-01 00:33:42 -04:00 committed by Kent Overstreet
parent c2fcff5973
commit f43cc5be6e
1 changed files with 0 additions and 1 deletions

View File

@ -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);