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

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