887953
From efd713e5f9067a743f532923c529416fc5f5189e Mon Sep 17 00:00:00 2001
887953
From: Susant Palai <spalai@redhat.com>
887953
Date: Wed, 7 Nov 2018 13:06:07 +0530
887953
Subject: [PATCH 440/444] features/locks:Use pthread_mutex_unlock() instead of
887953
 pthread_mutex_lock()
887953
887953
Upstream patch: https://review.gluster.org/#/c/glusterfs/+/21579/
887953
887953
Change-Id: I85ea6e351f07cc289245cfb501f027942ee3176c
887953
BUG: 1647675
887953
Signed-off-by: Susant Palai <spalai@redhat.com>
887953
Reviewed-on: https://code.engineering.redhat.com/gerrit/155326
887953
Tested-by: RHGS Build Bot <nigelb@redhat.com>
887953
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
887953
---
887953
 xlators/features/locks/src/posix.c | 2 +-
887953
 1 file changed, 1 insertion(+), 1 deletion(-)
887953
887953
diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c
887953
index b434a08..2cc2837 100644
887953
--- a/xlators/features/locks/src/posix.c
887953
+++ b/xlators/features/locks/src/posix.c
887953
@@ -2966,7 +2966,7 @@ pl_metalk (call_frame_t *frame, xlator_t *this, inode_t *inode)
887953
                         ret = -1;
887953
                 }
887953
         }
887953
-        pthread_mutex_lock (&pl_inode->mutex);
887953
+        pthread_mutex_unlock (&pl_inode->mutex);
887953
 
887953
         if (ret == -1) {
887953
                 goto out;
887953
-- 
887953
1.8.3.1
887953