xfstests: fix loggen compile against recent xfsprogs headers
PATCH 1/1 xfstests: fix loggen compile against recent xfsprogs headers
The XFS_BLI_CANCEL flag got rename to XFS_BLF_CANCEL, allow loggen compile with both versions.
Signed-off-by Christoph Hellwig <[email protected]>
src/loggen.c +4 -0
@@ -239,7 +239,11 @@ loggen_empty(int count)/* an empty buffer too */ blfs.blf_type =XFS_LI_BUF ; blfs.blf_size =2 ; +#ifdef XFS_BLF_CANCEL + blfs.blf_flags =XFS_BLF_CANCEL ; +#else blfs.blf_flags =XFS_BLI_CANCEL ; +#endif blfs.blf_len =0 ; blfs.blf_blkno =1 ; blfs.blf_map_size =1 ;
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 4 lines · Christoph Hellwig
The
XFS_BLI_CANCELflag got rename toXFS_BLF_CANCEL, allow loggen compile with both versions.Signed-off-by Christoph Hellwig <[email protected]>
Reviewed-by Dave Chinner <[email protected]>
Signature · 7 lines
Dave Chinner [email protected] _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs