diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-02-28 03:26:07 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:09:55 +0200 |
commit | 0f2ea6550f1fbfabbe2db276107246c1236018ab (patch) | |
tree | a0f302853c63442dd7e0c3a31c5567e0b15a50e5 /fs/bcachefs/btree_iter.h | |
parent | bcachefs: ec: zero_out_rest_of_ec_bucket() (diff) | |
download | linux-0f2ea6550f1fbfabbe2db276107246c1236018ab.tar.xz linux-0f2ea6550f1fbfabbe2db276107246c1236018ab.zip |
bcachefs: bch2_btree_iter_peek_and_restart_outlined()
Needed for interfacing with Rust - bindgen can't handle inline
functions, alas.
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/btree_iter.h b/fs/bcachefs/btree_iter.h index 50b39704c56f..8e1f754e641b 100644 --- a/fs/bcachefs/btree_iter.h +++ b/fs/bcachefs/btree_iter.h @@ -595,6 +595,8 @@ static inline int btree_trans_too_many_iters(struct btree_trans *trans) return 0; } +struct bkey_s_c bch2_btree_iter_peek_and_restart_outlined(struct btree_iter *); + static inline struct bkey_s_c __bch2_btree_iter_peek_and_restart(struct btree_trans *trans, struct btree_iter *iter, unsigned flags) |