summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/io.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-08-16 15:59:56 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:08:25 +0200
commit76426098e419c1732efc3f88166f3f3592c215c9 (patch)
tree1cc431e32b7129a573116ce43307e9bc47d76b1d /fs/bcachefs/io.h
parentbcachefs: Refactor bch2_extent_trim_atomic() for reflink (diff)
downloadlinux-76426098e419c1732efc3f88166f3f3592c215c9.tar.xz
linux-76426098e419c1732efc3f88166f3f3592c215c9.zip
bcachefs: Reflink
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
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,