diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-10 23:57:50 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 11:47:43 -0500 |
commit | b0b67378225d66a3e1900c188b27586f48c6b119 (patch) | |
tree | 0c05da3d91cd3d8b8b98ff3c19196d8864b375e0 /fs/bcachefs/btree_update_interior.c | |
parent | ccb7b08fbbb85e9b0bb2867497d98172a5737ad5 (diff) | |
download | linux-stable-b0b67378225d66a3e1900c188b27586f48c6b119.tar.gz linux-stable-b0b67378225d66a3e1900c188b27586f48c6b119.tar.bz2 linux-stable-b0b67378225d66a3e1900c188b27586f48c6b119.zip |
bcachefs: trans_for_each_path_with_node() no longer uses path->idx
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_update_interior.c')
-rw-r--r-- | fs/bcachefs/btree_update_interior.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_update_interior.c b/fs/bcachefs/btree_update_interior.c index 83cb363837f8..0649c219df33 100644 --- a/fs/bcachefs/btree_update_interior.c +++ b/fs/bcachefs/btree_update_interior.c @@ -1646,13 +1646,14 @@ bch2_btree_insert_keys_interior(struct btree_update *as, struct keylist *keys) { struct btree_path *linked; + unsigned i; __bch2_btree_insert_keys_interior(as, trans, path, b, path->l[b->c.level].iter, keys); btree_update_updated_node(as, b); - trans_for_each_path_with_node(trans, b, linked) + trans_for_each_path_with_node(trans, b, linked, i) bch2_btree_node_iter_peek(&linked->l[b->c.level].iter, b); bch2_trans_verify_paths(trans); |