diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-10-17 22:30:32 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-10-20 19:07:51 -0400 |
commit | 553d6f107a3e90d451fcac8a88c07746dcb340cf (patch) | |
tree | 9cb62d5dcdd1ef09815cea97ccacefe348703394 /c_src | |
parent | 4f9293b045cf32dfc629ce300180d311aba8f53a (diff) |
Update bcachefs sources to 1dbc147a6eb0 bcachefs: Add version check for bch_btree_ptr_v2.sectors_written validate
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'c_src')
-rw-r--r-- | c_src/posix_to_bcachefs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c_src/posix_to_bcachefs.c b/c_src/posix_to_bcachefs.c index c065281f..d4701263 100644 --- a/c_src/posix_to_bcachefs.c +++ b/c_src/posix_to_bcachefs.c @@ -32,7 +32,7 @@ void create_link(struct bch_fs *c, struct bch_inode_unpacked parent_u; struct bch_inode_unpacked inode; - int ret = bch2_trans_do(c, NULL, NULL, 0, + int ret = bch2_trans_commit_do(c, NULL, NULL, 0, bch2_link_trans(trans, (subvol_inum) { 1, parent->bi_inum }, &parent_u, (subvol_inum) { 1, inum }, &inode, &qstr)); @@ -51,7 +51,7 @@ struct bch_inode_unpacked create_file(struct bch_fs *c, bch2_inode_init_early(c, &new_inode); - int ret = bch2_trans_do(c, NULL, NULL, 0, + int ret = bch2_trans_commit_do(c, NULL, NULL, 0, bch2_create_trans(trans, (subvol_inum) { 1, parent->bi_inum }, parent, &new_inode, &qstr, @@ -125,7 +125,7 @@ void copy_xattrs(struct bch_fs *c, struct bch_inode_unpacked *dst, if (IS_ERR(h)) continue; - int ret = bch2_trans_do(c, NULL, NULL, 0, + int ret = bch2_trans_commit_do(c, NULL, NULL, 0, bch2_xattr_set(trans, (subvol_inum) { 1, dst->bi_inum }, dst, &hash_info, attr, |