From 82cc2ade2a9a911cb040d3e752154ef9a16ba6c6 Mon Sep 17 00:00:00 2001 From: Josef Bacik Date: Fri, 25 Aug 2023 16:19:27 -0400 Subject: [PATCH] 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 Signed-off-by: Josef Bacik Reviewed-by: David Sterba Signed-off-by: David Sterba --- fs/btrfs/extent-tree.h | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/btrfs/extent-tree.h b/fs/btrfs/extent-tree.h index 88c249c37516a..ab2016db17e89 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, -- 2.30.2