mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
bcachefs: Fix failure to suspend
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
c2fcff5973
commit
f43cc5be6e
1 changed files with 0 additions and 1 deletions
|
@ -504,7 +504,6 @@ int bch2_move_data(struct bch_fs *c,
|
||||||
if (unlikely(freezing(current))) {
|
if (unlikely(freezing(current))) {
|
||||||
bch2_btree_iter_unlock(&stats->iter);
|
bch2_btree_iter_unlock(&stats->iter);
|
||||||
move_ctxt_wait_event(&ctxt, list_empty(&ctxt.reads));
|
move_ctxt_wait_event(&ctxt, list_empty(&ctxt.reads));
|
||||||
closure_sync(&ctxt.cl);
|
|
||||||
try_to_freeze();
|
try_to_freeze();
|
||||||
}
|
}
|
||||||
} while (delay);
|
} while (delay);
|
||||||
|
|
Loading…
Reference in a new issue