summaryrefslogtreecommitdiff
path: root/fs/bcachefs/inode.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-07-17 15:28:11 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:08:07 -0400
commitfc88796d1ce84181bbf4fb3618305a417454b806 (patch)
treef28fb796df9c832c9c1db026de54e6778151dcb4 /fs/bcachefs/inode.c
parent2ea9004864b918be34e742e38fb08d868600d020 (diff)
downloadlwn-fc88796d1ce84181bbf4fb3618305a417454b806.tar.gz
lwn-fc88796d1ce84181bbf4fb3618305a417454b806.zip
bcachefs: bch2_trans_update() now takes struct btree_insert_entry
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/inode.c')
-rw-r--r--fs/bcachefs/inode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/inode.c b/fs/bcachefs/inode.c
index 2d635555bffb..f40ec37d7f0f 100644
--- a/fs/bcachefs/inode.c
+++ b/fs/bcachefs/inode.c
@@ -346,7 +346,8 @@ again:
inode_u->bi_generation = bkey_generation(k);
bch2_inode_pack(inode_p, inode_u);
- bch2_trans_update(trans, iter, &inode_p->inode.k_i, 0);
+ bch2_trans_update(trans,
+ BTREE_INSERT_ENTRY(iter, &inode_p->inode.k_i));
return 0;
}
}