This is the mail archive of the
lvm2-cvs@sourceware.org
mailing list for the LVM2 project.
LVM2/lib/commands toolcontext.c
- From: agk at sourceware dot org
- To: lvm-devel at redhat dot com, lvm2-cvs at sourceware dot org
- Date: 8 Jul 2011 17:31:06 -0000
- Subject: LVM2/lib/commands toolcontext.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk@sourceware.org 2011-07-08 17:31:06
Modified files:
lib/commands : toolcontext.c
Log message:
missing ifdef when new fn unused
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/commands/toolcontext.c.diff?cvsroot=lvm2&r1=1.125&r2=1.126
--- LVM2/lib/commands/toolcontext.c 2011/07/08 16:49:04 1.125
+++ LVM2/lib/commands/toolcontext.c 2011/07/08 17:31:06 1.126
@@ -200,6 +200,7 @@
reset_lvm_errno(1);
}
+#ifdef UDEV_SYNC_SUPPORT
/*
* Until the DM_UEVENT_GENERATED_FLAG was introduced in kernel patch
* 856a6f1dbd8940e72755af145ebcd806408ecedd
@@ -214,6 +215,7 @@
(sscanf(vsn, "%u.%u.%u", &maj, &min, &patchlevel) == 3) &&
(maj == 4 ? min >= 18 : maj > 4);
}
+#endif
static int _process_config(struct cmd_context *cmd)
{