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

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