summaryrefslogtreecommitdiff
path: root/libbcachefs/move.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/move.h')
-rw-r--r--libbcachefs/move.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbcachefs/move.h b/libbcachefs/move.h
index 1b1e8678..07cf9d42 100644
--- a/libbcachefs/move.h
+++ b/libbcachefs/move.h
@@ -45,6 +45,7 @@ do { \
\
if (_cond) \
break; \
+ bch2_trans_unlock_long((_ctxt)->trans); \
__wait_event((_ctxt)->wait, \
bch2_moving_ctxt_next_pending_write(_ctxt) || \
(cond_finished = (_cond))); \