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