[multipathd] Fix pthread bug in multipath-tools.
authorAlex Zeffertt <alex.zeffertt@eu.citrix.com>
Wed, 3 Feb 2010 12:29:37 +0000 (13:29 +0100)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Wed, 3 Feb 2010 12:29:37 +0000 (13:29 +0100)
commit04da4f3bb886fa0fcf0a018add1d5b6e4b7b7ede
treec991cebf5b702f734c04d43aafd2b29fefaf9013
parent0cca36611a04e26aee7052cd911687867870085a
[multipathd] Fix pthread bug in multipath-tools.

You should lock the mutex before doing a pthread_cond_wait otherwise
undefined results occur.  In fact we get away with this with glibc,
but with uclibc it causes a segfault.
multipathd/main.c