summaryrefslogtreecommitdiff
path: root/fs/bcachefs/logged_ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/bcachefs/logged_ops.h')
-rw-r--r--fs/bcachefs/logged_ops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/logged_ops.h b/fs/bcachefs/logged_ops.h
index 30ae9ef737dd..6dea6e2ac7a8 100644
--- a/fs/bcachefs/logged_ops.h
+++ b/fs/bcachefs/logged_ops.h
@@ -10,7 +10,7 @@
static inline int bch2_logged_op_update(struct btree_trans *trans, struct bkey_i *op)
{
- return bch2_btree_insert_nonextent(trans, BTREE_ID_logged_ops, op, 0);
+ return bch2_btree_insert_trans(trans, BTREE_ID_logged_ops, op, BTREE_ITER_cached);
}
int bch2_resume_logged_ops(struct bch_fs *);