summaryrefslogtreecommitdiff
path: root/fs/bcachefs/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/bcachefs/io.h')
-rw-r--r--fs/bcachefs/io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/bcachefs/io.h b/fs/bcachefs/io.h
index aa437cb05fe7..a768ccc90f1f 100644
--- a/fs/bcachefs/io.h
+++ b/fs/bcachefs/io.h
@@ -99,6 +99,9 @@ struct bch_devs_mask;
struct cache_promote_op;
struct extent_ptr_decoded;
+int bch2_read_indirect_extent(struct btree_trans *, struct btree_iter *,
+ unsigned *, struct bkey_i *);
+
enum bch_read_flags {
BCH_READ_RETRY_IF_STALE = 1 << 0,
BCH_READ_MAY_PROMOTE = 1 << 1,