]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
xfs: add missing forward declaration in xfs_zones.h
authorDamien Le Moal <dlemoal@kernel.org>
Wed, 14 Jan 2026 06:53:24 +0000 (07:53 +0100)
committerCarlos Maiolino <cem@kernel.org>
Wed, 21 Jan 2026 11:57:16 +0000 (12:57 +0100)
Add the missing forward declaration for struct blk_zone in xfs_zones.h.
This avoids headaches with the order of header file inclusion to avoid
compilation errors.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/libxfs/xfs_zones.h

index 5fefd132e002eed6abd17eab65fae5ab8e4e472f..df10a34da71d6473ddebb40f10cdc89350f74d31 100644 (file)
@@ -3,6 +3,7 @@
 #define _LIBXFS_ZONES_H
 
 struct xfs_rtgroup;
+struct blk_zone;
 
 /*
  * In order to guarantee forward progress for GC we need to reserve at least