summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent-tree.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2023-08-25 16:19:27 -0400
committerDavid Sterba <dsterba@suse.com>2023-10-12 16:44:02 +0200
commit82cc2ade2a9a911cb040d3e752154ef9a16ba6c6 (patch)
treec8effaefa2eedf57dd74b6196f2916ad8f68dffb /fs/btrfs/extent-tree.h
parent04cc63d12c788e75e2d1a3850b8425724a7fe739 (diff)
downloadlinux-stable-82cc2ade2a9a911cb040d3e752154ef9a16ba6c6.tar.gz
linux-stable-82cc2ade2a9a911cb040d3e752154ef9a16ba6c6.tar.bz2
linux-stable-82cc2ade2a9a911cb040d3e752154ef9a16ba6c6.zip
btrfs: add btrfs_delayed_ref_head declaration to extent-tree.h
extent-tree.h uses btrfs_delayed_ref_head in a function argument but doesn't pull it's declaration from anywhere, add it to the top of the header. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> 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-tree.h')
-rw-r--r--fs/btrfs/extent-tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/extent-tree.h b/fs/btrfs/extent-tree.h
index 88c249c37516..ab2016db17e8 100644
--- a/fs/btrfs/extent-tree.h
+++ b/fs/btrfs/extent-tree.h
@@ -7,6 +7,7 @@
#include "block-group.h"
struct btrfs_free_cluster;
+struct btrfs_delayed_ref_head;
enum btrfs_extent_allocation_policy {
BTRFS_EXTENT_ALLOC_CLUSTERED,