diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-01-31 13:23:18 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:35 -0400 |
commit | 6a9ec8282647cde71bb34e2d78b3d3789206ffed (patch) | |
tree | ac11d3ee5d8425301573dce847575d97d40a7020 /fs/bcachefs/btree_iter.h | |
parent | 5c4a5cd5b379567f648c0f5d0f9ec7550bc8b67e (diff) | |
download | lwn-6a9ec8282647cde71bb34e2d78b3d3789206ffed.tar.gz lwn-6a9ec8282647cde71bb34e2d78b3d3789206ffed.zip |
bcachefs: __bch2_btree_iter_set_pos()
This one takes an additional argument for whether we're searching for >=
or > the search key.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_iter.h')
-rw-r--r-- | fs/bcachefs/btree_iter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/btree_iter.h b/fs/bcachefs/btree_iter.h index 86347bae9795..f9bf01e26aa1 100644 --- a/fs/bcachefs/btree_iter.h +++ b/fs/bcachefs/btree_iter.h @@ -166,6 +166,7 @@ struct bkey_s_c bch2_btree_iter_peek_slot(struct btree_iter *); struct bkey_s_c bch2_btree_iter_next_slot(struct btree_iter *); void bch2_btree_iter_set_pos_same_leaf(struct btree_iter *, struct bpos); +void __bch2_btree_iter_set_pos(struct btree_iter *, struct bpos, bool); void bch2_btree_iter_set_pos(struct btree_iter *, struct bpos); static inline struct bpos btree_type_successor(enum btree_id id, |