From patchwork Sat Feb 6 09:01:58 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Varoqui X-Patchwork-Id: 77507 Received: from mx01.util.phx2.redhat.com (mx1-phx2.redhat.com [209.132.183.26]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o1696wxH016152 for ; Sat, 6 Feb 2010 09:07:35 GMT Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx01.util.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o1692uIA024660; Sat, 6 Feb 2010 04:03:17 -0500 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o1692iKk031906 for ; Sat, 6 Feb 2010 04:02:44 -0500 Received: from mx1.redhat.com (ext-mx07.extmail.prod.ext.phx2.redhat.com [10.5.110.11]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o1692ZoF024362 for ; Sat, 6 Feb 2010 04:02:36 -0500 Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o16925hC022614 for ; Sat, 6 Feb 2010 04:02:20 -0500 Received: from smtp3-g21.free.fr (localhost [127.0.0.1]) by smtp3-g21.free.fr (Postfix) with ESMTP id 048C181811B; Sat, 6 Feb 2010 10:02:01 +0100 (CET) Received: from [192.168.0.105] (chn60-1-82-233-48-227.fbx.proxad.net [82.233.48.227]) by smtp3-g21.free.fr (Postfix) with ESMTP id ED0E7818140; Sat, 6 Feb 2010 10:01:58 +0100 (CET) From: Christophe Varoqui To: alex.zeffertt@eu.citrix.com Date: Sat, 06 Feb 2010 10:01:58 +0100 Message-ID: <1265446918.4273.3.camel@zezette> Mime-Version: 1.0 X-RedHat-Spam-Score: -0.01 (RCVD_IN_DNSWL_NONE) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 X-Scanned-By: MIMEDefang 2.67 on 10.5.110.11 X-loop: dm-devel@redhat.com Cc: rumcic@gmail.com, dm-devel Subject: [dm-devel] [Fwd: [PATCH] Latest git -master is not compilable] X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk Reply-To: christophe.varoqui@opensvc.com, device-mapper development List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sat, 06 Feb 2010 09:07:35 +0000 (UTC) From a6bf54d588c2d0c9d3a97541bcb7b605fd1f3ae0 Mon Sep 17 00:00:00 2001 From: Rumko Date: Fri, 5 Feb 2010 20:59:21 +0100 Subject: [PATCH] Use pthread_mutex_lock() instead of lock() since we are dealing with a mutex directly. --- multipathd/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/multipathd/main.c b/multipathd/main.c index e7955bd..3f7eb49 100644 --- a/multipathd/main.c +++ b/multipathd/main.c @@ -1440,7 +1440,7 @@ child (void * param) pthread_create(&uxlsnr_thr, &misc_attr, uxlsnrloop, vecs); pthread_attr_destroy(&misc_attr); - lock(&exit_mutex); + pthread_mutex_lock(&exit_mutex); pthread_cond_wait(&exit_cond, &exit_mutex); /* -- 1.6.6