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

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