Blame SOURCES/0168-RHBZ-1347769-shared-lock.patch

f20720
---
f20720
 libmultipath/configure.c |    2 +-
f20720
 1 file changed, 1 insertion(+), 1 deletion(-)
f20720
f20720
Index: multipath-tools-130222/libmultipath/configure.c
f20720
===================================================================
f20720
--- multipath-tools-130222.orig/libmultipath/configure.c
f20720
+++ multipath-tools-130222/libmultipath/configure.c
f20720
@@ -552,7 +552,7 @@ lock_multipath (struct multipath * mpp,
f20720
 		if (!pgp->paths)
f20720
 			continue;
f20720
 		vector_foreach_slot(pgp->paths, pp, j) {
f20720
-			if (lock && flock(pp->fd, LOCK_EX | LOCK_NB) &&
f20720
+			if (lock && flock(pp->fd, LOCK_SH | LOCK_NB) &&
f20720
 			    errno == EWOULDBLOCK)
f20720
 				goto fail;
f20720
 			else if (!lock)