summaryrefslogtreecommitdiff
path: root/libbcachefs/fs-io.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-07-19 14:29:30 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-07-19 14:29:30 -0400
commite17d8841efa4fa17150025eac9dd32a4b4610fc7 (patch)
tree1b685d8a4eaad56874d899839a519c696e3dc8a4 /libbcachefs/fs-io.c
parentffe083c31d0a387e5092e1709daf717c21c2a98d (diff)
Update bcachefs sources to c1ec91699f60 workqueue: Basic memory allocation profiling supportv1.25.3
Diffstat (limited to 'libbcachefs/fs-io.c')
-rw-r--r--libbcachefs/fs-io.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbcachefs/fs-io.c b/libbcachefs/fs-io.c
index cc203752..93ad33f0 100644
--- a/libbcachefs/fs-io.c
+++ b/libbcachefs/fs-io.c
@@ -223,9 +223,8 @@ static int bch2_flush_inode(struct bch_fs *c,
if (!enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_fsync))
return -EROFS;
- CLASS(btree_trans, trans)(c);
u64 seq;
- int ret = commit_do(trans, NULL, NULL, 0,
+ int ret = bch2_trans_commit_do(c, NULL, NULL, 0,
bch2_get_inode_journal_seq_trans(trans, inode_inum(inode), &seq)) ?:
bch2_journal_flush_seq(&c->journal, seq, TASK_INTERRUPTIBLE) ?:
bch2_inode_flush_nocow_writes(c, inode);