summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.h
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2024-01-09 16:46:25 +0100
committerDavid Sterba <dsterba@suse.com>2024-03-04 16:24:45 +0100
commit592a0ce9e2d928f6cba285e1d59ca89ce7f7c88e (patch)
tree070d10ec02e1a79dd4459efba105e9f1b14df38a /fs/btrfs/extent_io.h
parentbtrfs: cache folio size and shift in extent_buffer (diff)
downloadlinux-592a0ce9e2d928f6cba285e1d59ca89ce7f7c88e.tar.xz
linux-592a0ce9e2d928f6cba285e1d59ca89ce7f7c88e.zip
btrfs: remove extent_map_tree forward declaration at extent_io.h
There's no need to do a forward declaration of struct extent_map_tree at extent_io.h, as there are no function prototypes, inline functions or data structures that refer to struct extent_map_tree. So remove that forward declaration, which is not needed since commit 477a30ba5f8d ("btrfs: Sink extent_tree arguments in try_release_extent_mapping"). Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to '')
-rw-r--r--fs/btrfs/extent_io.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h
index 8e5639597800..3cbececc8c6d 100644
--- a/fs/btrfs/extent_io.h
+++ b/fs/btrfs/extent_io.h
@@ -215,8 +215,6 @@ static inline void extent_changeset_free(struct extent_changeset *changeset)
kfree(changeset);
}
-struct extent_map_tree;
-
int try_release_extent_mapping(struct page *page, gfp_t mask);
int try_release_extent_buffer(struct page *page);