master - udev: _udev_disabled var visible also for !UDEV_SYNC_SUPPORT
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=b13d45d21d616c5512593617bbf5ed4c623805ed Commit: b13d45d21d616c5512593617bbf5ed4c623805ed Parent: 4891a735d343db26460f1b6218169c458d59f2a1 Author: Peter Rajnoha <[email protected]> AuthorDate: Thu Nov 29 14:40:12 2012 +0100 Committer: Peter Rajnoha <[email protected]> CommitterDate: Thu Nov 29 14:40:12 2012 +0100
udev: _udev_disabled var visible also for !UDEV_SYNC_SUPPORT
--- libdm/libdm-common.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
libdm/libdm-common.c +2 -1
@@ -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 ;