Blame SOURCES/0008-Ticket-48235-remove-memberof-lock-cherry-pick-error.patch

b045b9
From 23a82820bce65653f96450fcc410706fa555fbfd Mon Sep 17 00:00:00 2001
b045b9
From: Mark Reynolds <mreynolds@redhat.com>
b045b9
Date: Mon, 16 Oct 2017 10:44:29 -0400
b045b9
Subject: [PATCH] Ticket 48235 - remove memberof lock (cherry-pick error)
b045b9
b045b9
Description: Fix cherry-pick error
b045b9
b045b9
https://pagure.io/389-ds-base/issue/48235
b045b9
b045b9
Reviewed by: mreynolds(one line commit rule)
b045b9
b045b9
(cherry picked from commit 3eb443b0ee11f3cf642ebfbcd135868a72ce39da)
b045b9
---
b045b9
 ldap/servers/plugins/memberof/memberof.c | 3 ---
b045b9
 ldap/servers/plugins/memberof/memberof.h | 2 --
b045b9
 2 files changed, 5 deletions(-)
b045b9
b045b9
diff --git a/ldap/servers/plugins/memberof/memberof.c b/ldap/servers/plugins/memberof/memberof.c
b045b9
index a23c52abe..bae242c81 100644
b045b9
--- a/ldap/servers/plugins/memberof/memberof.c
b045b9
+++ b/ldap/servers/plugins/memberof/memberof.c
b045b9
@@ -2828,9 +2828,6 @@ memberof_fixup_task_thread(void *arg)
b045b9
         }
b045b9
     }
b045b9
 
b045b9
-    /* get the memberOf operation lock */
b045b9
-    memberof_lock();
b045b9
-
b045b9
     /* do real work */
b045b9
     rc = memberof_fix_memberof(&configCopy, task, td);
b045b9
 
b045b9
diff --git a/ldap/servers/plugins/memberof/memberof.h b/ldap/servers/plugins/memberof/memberof.h
b045b9
index ba64e9dfa..cf028453c 100644
b045b9
--- a/ldap/servers/plugins/memberof/memberof.h
b045b9
+++ b/ldap/servers/plugins/memberof/memberof.h
b045b9
@@ -88,8 +88,6 @@ int memberof_config(Slapi_Entry *config_e, Slapi_PBlock *pb);
b045b9
 void memberof_copy_config(MemberOfConfig *dest, MemberOfConfig *src);
b045b9
 void memberof_free_config(MemberOfConfig *config);
b045b9
 MemberOfConfig *memberof_get_config(void);
b045b9
-void memberof_lock(void);
b045b9
-void memberof_unlock(void);
b045b9
 void memberof_rlock_config(void);
b045b9
 void memberof_wlock_config(void);
b045b9
 void memberof_unlock_config(void);
b045b9
-- 
b045b9
2.13.6
b045b9