summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent-io-tree.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-09-09 17:53:20 -0400
committerDavid Sterba <dsterba@suse.com>2022-09-26 12:28:03 +0200
commitc45379a20fbcbbd166966711cf9481ecb41b8271 (patch)
treebd4d5310d35d3fa4c1f0b044200e73c4c86e1594 /fs/btrfs/extent-io-tree.h
parenta40246e8afc0af3ffdee21854fb755c9364b8346 (diff)
downloadlinux-c45379a20fbcbbd166966711cf9481ecb41b8271.tar.gz
linux-c45379a20fbcbbd166966711cf9481ecb41b8271.tar.bz2
linux-c45379a20fbcbbd166966711cf9481ecb41b8271.zip
btrfs: temporarily export alloc_extent_state helpers
We're going to move this code in stages, but while we're doing that we need to export these helpers so we can more easily move the code into the new file. 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/extent-io-tree.h b/fs/btrfs/extent-io-tree.h
index 6c2016db304b..8e7a548b88e9 100644
--- a/fs/btrfs/extent-io-tree.h
+++ b/fs/btrfs/extent-io-tree.h
@@ -250,4 +250,7 @@ void btrfs_free_io_failure_record(struct btrfs_inode *inode, u64 start,
int btrfs_clean_io_failure(struct btrfs_inode *inode, u64 start,
struct page *page, unsigned int pg_offset);
+struct extent_state *alloc_extent_state_atomic(struct extent_state *prealloc);
+struct extent_state *alloc_extent_state(gfp_t mask);
+
#endif /* BTRFS_EXTENT_IO_TREE_H */