public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfstests: fix loggen compile against recent xfsprogs headers
@ 2011-08-14 17:04 Christoph Hellwig
  2011-08-22  6:47 ` Dave Chinner
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2011-08-14 17:04 UTC (permalink / raw)
  To: xfs

The XFS_BLI_CANCEL flag got rename to XFS_BLF_CANCEL, allow loggen compile
with both versions.

Signed-off-by: Christoph Hellwig <hch@lst.de>


Index: xfstests-dev/src/loggen.c
===================================================================
--- xfstests-dev.orig/src/loggen.c	2011-08-13 20:10:45.000000000 +0000
+++ xfstests-dev/src/loggen.c	2011-08-13 20:11:05.000000000 +0000
@@ -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
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-22  6:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-14 17:04 [PATCH] xfstests: fix loggen compile against recent xfsprogs headers Christoph Hellwig
2011-08-22  6:47 ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox