summaryrefslogtreecommitdiff
path: root/fs/bcachefs/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/bcachefs/io.h')
-rw-r--r--fs/bcachefs/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/io.h b/fs/bcachefs/io.h
index d1fd37ef2fc0..5d692a2228a6 100644
--- a/fs/bcachefs/io.h
+++ b/fs/bcachefs/io.h
@@ -62,7 +62,7 @@ static inline struct workqueue_struct *index_update_wq(struct bch_write_op *op)
{
return op->alloc_reserve == RESERVE_MOVINGGC
? op->c->copygc_wq
- : op->c->wq;
+ : op->c->btree_update_wq;
}
int bch2_sum_sector_overwrites(struct btree_trans *, struct btree_iter *,