| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] xfstests: fix loggen compile against recent xfsprogs headers |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Sun, 14 Aug 2011 13:04:45 -0400 |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
The XFS_BLI_CANCEL flag got rename to XFS_BLF_CANCEL, allow loggen compile
with both versions.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
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;
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 2/2] xfs: reduce the number of log forces from tail pushing, Christoph Hellwig |
|---|---|
| Next by Date: | [PATCH] xfs: fix tracing builds inside the source tree, Christoph Hellwig |
| Previous by Thread: | xfstests #62 broken on ext4, Theodore Ts'o |
| Next by Thread: | Re: [PATCH] xfstests: fix loggen compile against recent xfsprogs headers, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |