aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent-io-tree.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-09-09 17:53:24 -0400
committerDavid Sterba <dsterba@suse.com>2022-09-26 12:28:03 +0200
commitec39e39bbf97105c5ae95af485663a927dd07565 (patch)
tree45f0fd181c2ea0ca23ee1e010a83d2651dde6af3 /fs/btrfs/extent-io-tree.h
parentbtrfs: move simple extent bit helpers out of extent_io.c (diff)
downloadlinux-dev-ec39e39bbf97105c5ae95af485663a927dd07565.tar.xz
linux-dev-ec39e39bbf97105c5ae95af485663a927dd07565.zip
btrfs: export wait_extent_bit
This is used by the subpage code in addition to lock_extent_bits, so export it so we can move it out of extent_io.c Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent-io-tree.h')
-rw-r--r--fs/btrfs/extent-io-tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/extent-io-tree.h b/fs/btrfs/extent-io-tree.h
index 16a9da4149f3..3b63aeca941a 100644
--- a/fs/btrfs/extent-io-tree.h
+++ b/fs/btrfs/extent-io-tree.h
@@ -253,6 +253,7 @@ int extent_invalidate_folio(struct extent_io_tree *tree,
bool btrfs_find_delalloc_range(struct extent_io_tree *tree, u64 *start,
u64 *end, u64 max_bytes,
struct extent_state **cached_state);
+void wait_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, u32 bits);
/* This should be reworked in the future and put elsewhere. */
void btrfs_free_io_failure_record(struct btrfs_inode *inode, u64 start,