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

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