Message ID | 9298fb200ab3faaaf932d0b166fbefd9e0b917ab.1704815143.git.fdmanana@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs: remove extent_map_tree forward declaration at extent_io.h | expand |
On Tue, Jan 09, 2024 at 03:46:25PM +0000, fdmanana@kernel.org wrote: > From: Filipe Manana <fdmanana@suse.com> > > 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> Added to misc-next, thanks.
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index 46050500529b..39f973778db2 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h @@ -205,8 +205,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);