diff options
author | Alasdair Kergon <agk@redhat.com> | 2011-07-08 17:31:06 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2011-07-08 17:31:06 +0000 |
commit | 574f7c61daca9f2110c67701aedbd8cf700efb13 (patch) | |
tree | bdfd59336dea67a33e2881fc9679759df602735f | |
parent | 3151e0995ad2351b8ca2de06dd72824ba776020c (diff) | |
download | lvm2-574f7c61daca9f2110c67701aedbd8cf700efb13.tar.gz lvm2-574f7c61daca9f2110c67701aedbd8cf700efb13.tar.xz lvm2-574f7c61daca9f2110c67701aedbd8cf700efb13.zip |
missing ifdef when new fn unused
-rw-r--r-- | lib/commands/toolcontext.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/commands/toolcontext.c b/lib/commands/toolcontext.c index b2b38dd5..d7e3e440 100644 --- a/lib/commands/toolcontext.c +++ b/lib/commands/toolcontext.c @@ -200,6 +200,7 @@ static void _init_logging(struct cmd_context *cmd) reset_lvm_errno(1); } +#ifdef UDEV_SYNC_SUPPORT /* * Until the DM_UEVENT_GENERATED_FLAG was introduced in kernel patch * 856a6f1dbd8940e72755af145ebcd806408ecedd @@ -214,6 +215,7 @@ static int _dm_driver_has_stable_udev_support() (sscanf(vsn, "%u.%u.%u", &maj, &min, &patchlevel) == 3) && (maj == 4 ? min >= 18 : maj > 4); } +#endif static int _process_config(struct cmd_context *cmd) { |