From b13d45d21d616c5512593617bbf5ed4c623805ed Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Thu, 29 Nov 2012 14:40:12 +0100 Subject: [PATCH] udev: _udev_disabled var visible also for !UDEV_SYNC_SUPPORT --- libdm/libdm-common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libdm/libdm-common.c b/libdm/libdm-common.c index 2d79efabc..527124fbe 100644 --- a/libdm/libdm-common.c +++ b/libdm/libdm-common.c @@ -74,8 +74,9 @@ static dm_string_mangling_t _name_mangling_mode = DEFAULT_DM_NAME_MANGLING; static struct selabel_handle *_selabel_handle = NULL; #endif -#ifdef UDEV_SYNC_SUPPORT static int _udev_disabled = 0; + +#ifdef UDEV_SYNC_SUPPORT static int _semaphore_supported = -1; static int _udev_running = -1; static int _sync_with_udev = 1;