b7dd6f45c1
Resolves: bz#1479446 bz#1520882 bz#1579758 bz#1598407 bz#1599808 Resolves: bz#1603118 bz#1619357 bz#1622001 bz#1622308 bz#1631166 Resolves: bz#1631418 bz#1632563 bz#1634649 bz#1635071 bz#1635100 Resolves: bz#1635136 bz#1636291 bz#1638069 bz#1640347 bz#1642854 Resolves: bz#1643035 bz#1644120 bz#1644279 bz#1645916 bz#1647675 Signed-off-by: Milind Changire <mchangir@redhat.com>
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
From efd713e5f9067a743f532923c529416fc5f5189e Mon Sep 17 00:00:00 2001
|
|
From: Susant Palai <spalai@redhat.com>
|
|
Date: Wed, 7 Nov 2018 13:06:07 +0530
|
|
Subject: [PATCH 440/444] features/locks:Use pthread_mutex_unlock() instead of
|
|
pthread_mutex_lock()
|
|
|
|
Upstream patch: https://review.gluster.org/#/c/glusterfs/+/21579/
|
|
|
|
Change-Id: I85ea6e351f07cc289245cfb501f027942ee3176c
|
|
BUG: 1647675
|
|
Signed-off-by: Susant Palai <spalai@redhat.com>
|
|
Reviewed-on: https://code.engineering.redhat.com/gerrit/155326
|
|
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
|
|
---
|
|
xlators/features/locks/src/posix.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c
|
|
index b434a08..2cc2837 100644
|
|
--- a/xlators/features/locks/src/posix.c
|
|
+++ b/xlators/features/locks/src/posix.c
|
|
@@ -2966,7 +2966,7 @@ pl_metalk (call_frame_t *frame, xlator_t *this, inode_t *inode)
|
|
ret = -1;
|
|
}
|
|
}
|
|
- pthread_mutex_lock (&pl_inode->mutex);
|
|
+ pthread_mutex_unlock (&pl_inode->mutex);
|
|
|
|
if (ret == -1) {
|
|
goto out;
|
|
--
|
|
1.8.3.1
|
|
|