diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-07-17 15:28:11 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:07 -0400 |
commit | fc88796d1ce84181bbf4fb3618305a417454b806 (patch) | |
tree | f28fb796df9c832c9c1db026de54e6778151dcb4 /fs/bcachefs/inode.c | |
parent | 2ea9004864b918be34e742e38fb08d868600d020 (diff) | |
download | lwn-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.c | 3 |
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; } } |