Skip to content

Commit 4126326

Browse files
damien-lemoalcmaiolino
authored andcommitted
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>
1 parent 3a65ea7 commit 4126326

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

fs/xfs/libxfs/xfs_zones.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#define _LIBXFS_ZONES_H
44

55
struct xfs_rtgroup;
6+
struct blk_zone;
67

78
/*
89
* In order to guarantee forward progress for GC we need to reserve at least

0 commit comments

Comments
 (0)