mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 12:14:10 +08:00
bcachefs: Remove unused parameter
iter here is unused, remove it. Signed-off-by: Alan Huang <mmpgouride@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
3130303bd9
commit
5935bf3341
@ -969,7 +969,6 @@ static void bch2_bset_fix_lookup_table(struct btree *b,
|
||||
}
|
||||
|
||||
void bch2_bset_insert(struct btree *b,
|
||||
struct btree_node_iter *iter,
|
||||
struct bkey_packed *where,
|
||||
struct bkey_i *insert,
|
||||
unsigned clobber_u64s)
|
||||
|
@ -270,8 +270,8 @@ void bch2_bset_init_first(struct btree *, struct bset *);
|
||||
void bch2_bset_init_next(struct btree *, struct btree_node_entry *);
|
||||
void bch2_bset_build_aux_tree(struct btree *, struct bset_tree *, bool);
|
||||
|
||||
void bch2_bset_insert(struct btree *, struct btree_node_iter *,
|
||||
struct bkey_packed *, struct bkey_i *, unsigned);
|
||||
void bch2_bset_insert(struct btree *, struct bkey_packed *, struct bkey_i *,
|
||||
unsigned);
|
||||
void bch2_bset_delete(struct btree *, struct bkey_packed *, unsigned);
|
||||
|
||||
/* Bkey utility code */
|
||||
|
@ -214,7 +214,7 @@ bool bch2_btree_bset_insert_key(struct btree_trans *trans,
|
||||
|
||||
k = bch2_btree_node_iter_bset_pos(node_iter, b, bset_tree_last(b));
|
||||
overwrite:
|
||||
bch2_bset_insert(b, node_iter, k, insert, clobber_u64s);
|
||||
bch2_bset_insert(b, k, insert, clobber_u64s);
|
||||
new_u64s = k->u64s;
|
||||
fix_iter:
|
||||
if (clobber_u64s != new_u64s)
|
||||
|
Loading…
Reference in New Issue
Block a user