Blame SOURCES/0160-RH-udev-flags.patch

4ae388
---
4ae388
 libmultipath/devmapper.c |    5 +++--
4ae388
 1 file changed, 3 insertions(+), 2 deletions(-)
4ae388
4ae388
Index: multipath-tools-130222/libmultipath/devmapper.c
4ae388
===================================================================
4ae388
--- multipath-tools-130222.orig/libmultipath/devmapper.c
4ae388
+++ multipath-tools-130222/libmultipath/devmapper.c
4ae388
@@ -213,8 +213,9 @@ dm_prereq (void)
4ae388
 static int
4ae388
 dm_simplecmd (int task, const char *name, int no_flush, int need_sync, uint16_t udev_flags, int deferred_remove) {
4ae388
 	int r = 0;
4ae388
-	int udev_wait_flag = (need_sync && (task == DM_DEVICE_RESUME ||
4ae388
-					    task == DM_DEVICE_REMOVE));
4ae388
+	int udev_wait_flag = ((need_sync && (task == DM_DEVICE_RESUME ||
4ae388
+					    task == DM_DEVICE_REMOVE)) ||
4ae388
+			       udev_flags);
4ae388
 	uint32_t cookie = 0;
4ae388
 	struct dm_task *dmt;
4ae388