mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
missing ifdef when new fn unused
This commit is contained in:
parent
3151e0995a
commit
574f7c61da
@ -200,6 +200,7 @@ static void _init_logging(struct cmd_context *cmd)
|
|||||||
reset_lvm_errno(1);
|
reset_lvm_errno(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef UDEV_SYNC_SUPPORT
|
||||||
/*
|
/*
|
||||||
* Until the DM_UEVENT_GENERATED_FLAG was introduced in kernel patch
|
* Until the DM_UEVENT_GENERATED_FLAG was introduced in kernel patch
|
||||||
* 856a6f1dbd8940e72755af145ebcd806408ecedd
|
* 856a6f1dbd8940e72755af145ebcd806408ecedd
|
||||||
@ -214,6 +215,7 @@ static int _dm_driver_has_stable_udev_support()
|
|||||||
(sscanf(vsn, "%u.%u.%u", &maj, &min, &patchlevel) == 3) &&
|
(sscanf(vsn, "%u.%u.%u", &maj, &min, &patchlevel) == 3) &&
|
||||||
(maj == 4 ? min >= 18 : maj > 4);
|
(maj == 4 ? min >= 18 : maj > 4);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static int _process_config(struct cmd_context *cmd)
|
static int _process_config(struct cmd_context *cmd)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user