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