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

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