public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
From: mbroz@sourceware.org
To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org
Subject: LVM2/lib/raid raid.c
Date: Thu, 11 Aug 2011 13:30:00 -0000	[thread overview]
Message-ID: <20110811133036.24806.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	mbroz@sourceware.org	2011-08-11 13:30:36

Modified files:
	lib/raid       : raid.c 

Log message:
	Fix build of raid without dmeventd.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/raid/raid.c.diff?cvsroot=lvm2&r1=1.2&r2=1.3

--- LVM2/lib/raid/raid.c	2011/08/11 05:00:22	1.2
+++ LVM2/lib/raid/raid.c	2011/08/11 13:30:36	1.3
@@ -302,13 +302,17 @@
 	.text_export = _raid_text_export,
 	.add_target_line = _raid_add_target_line,
 	.target_status_compatible = _raid_target_status_compatible,
+#ifdef DEVMAPPER_SUPPORT
 	.target_percent = _raid_target_percent,
 	.target_present = _raid_target_present,
-	.modules_needed = _raid_modules_needed,
-	.destroy = _raid_destroy,
+#  ifdef DMEVENTD
 	.target_monitored = _raid_target_monitored,
 	.target_monitor_events = _raid_target_monitor_events,
 	.target_unmonitor_events = _raid_target_unmonitor_events,
+#  endif        /* DMEVENTD */
+#endif
+	.modules_needed = _raid_modules_needed,
+	.destroy = _raid_destroy,
 };
 
 static struct segment_type *init_raid_segtype(struct cmd_context *cmd,


             reply	other threads:[~2011-08-11 13:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-11 13:30 mbroz [this message]
2011-08-11 14:00 jbrassow

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=20110811133036.24806.qmail@sourceware.org \
    --to=mbroz@sourceware.org \
    --cc=lvm-devel@redhat.com \
    --cc=lvm2-cvs@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).