From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23036 invoked by alias); 8 Jul 2011 17:31:07 -0000 Received: (qmail 23019 invoked by uid 9447); 8 Jul 2011 17:31:06 -0000 Date: Fri, 08 Jul 2011 17:31:00 -0000 Message-ID: <20110708173106.23017.qmail@sourceware.org> From: agk@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/lib/commands toolcontext.c Mailing-List: contact lvm2-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: lvm2-cvs-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00020.txt.bz2 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) {