xfs: add missing forward declaration in xfs_zones.h

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>
This commit is contained in:
Damien Le Moal 2026-01-14 07:53:24 +01:00 committed by Carlos Maiolino
parent 3a65ea768b
commit 41263267ef

View 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