From: Damien Le Moal Date: Sun, 22 Feb 2026 22:41:07 +0000 (-0800) Subject: xfs: add missing forward declaration in xfs_zones.h X-Git-Tag: v7.0.0~83 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=df9839b1dd08a320c998dfd8de0919a9a035752a;p=xfsprogs-dev.git xfs: add missing forward declaration in xfs_zones.h Source kernel commit: 41263267ef26d315b1425eb9c8a8d7092f9db7c8 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 Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Reviewed-by: Carlos Maiolino Signed-off-by: Carlos Maiolino --- diff --git a/libxfs/xfs_zones.h b/libxfs/xfs_zones.h index 5fefd132..df10a34d 100644 --- a/libxfs/xfs_zones.h +++ b/libxfs/xfs_zones.h @@ -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