btrfs: add btrfs_delayed_ref_head declaration to extent-tree.h
authorJosef Bacik <josef@toxicpanda.com>
Fri, 25 Aug 2023 20:19:27 +0000 (16:19 -0400)
committerDavid Sterba <dsterba@suse.com>
Thu, 12 Oct 2023 14:44:02 +0000 (16:44 +0200)
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>
fs/btrfs/extent-tree.h

index 88c249c37516a1b18b89fbe7d98000ce43797037..ab2016db17e89f0870e233f87c42f4ec853232df 100644 (file)
@@ -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,