summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-10-01 07:33:42 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:08:10 +0300
commitf43cc5be6e08bd3e0425cc848a7c2a4d3c1974f3 (patch)
tree4606b05815396280afe31514af6a206e6bb9df0b /fs
parentc2fcff5973c93af7ffa87ad28eca2fddd2be83c5 (diff)
downloadlinux-f43cc5be6e08bd3e0425cc848a7c2a4d3c1974f3.tar.xz
bcachefs: Fix failure to suspend
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs')
-rw-r--r--fs/bcachefs/move.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/bcachefs/move.c b/fs/bcachefs/move.c
index b29e7c322e9a..9402b45bf868 100644
--- a/fs/bcachefs/move.c
+++ b/fs/bcachefs/move.c
@@ -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);