From: Christoph Hellwig <hch@infradead.org>
To: xfs@oss.sgi.com
Subject: [PATCH] xfstests: fix loggen compile against recent xfsprogs headers
Date: Sun, 14 Aug 2011 13:04:45 -0400 [thread overview]
Message-ID: <20110814170445.GA19307@infradead.org> (raw)
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
next reply other threads:[~2011-08-14 17:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-14 17:04 Christoph Hellwig [this message]
2011-08-22 6:47 ` [PATCH] xfstests: fix loggen compile against recent xfsprogs headers Dave Chinner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110814170445.GA19307@infradead.org \
--to=hch@infradead.org \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox