git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ca76ad
)
ctdb-client: Do not delete reqid explicitly
author
Amitay Isaacs
<amitay@gmail.com>
Thu, 5 Nov 2015 06:09:11 +0000
(17:09 +1100)
committer
Martin Schwenke
<martins@samba.org>
Wed, 20 Jan 2016 03:19:11 +0000
(
04:19
+0100)
The reqid will be deleted when the client control state is freed.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/client/client_control.c
patch
|
blob
|
history
diff --git
a/ctdb/client/client_control.c
b/ctdb/client/client_control.c
index 4249bfbe81f9714b305cab8eb7182fe3872b9303..b25ff40230e5ffe7013cd93472df13df90e4b16c 100644
(file)
--- a/
ctdb/client/client_control.c
+++ b/
ctdb/client/client_control.c
@@
-141,7
+141,6
@@
static void ctdb_client_control_done(struct tevent_req *subreq)
/* Daemon will not reply, so we set status to 0 */
if (state->flags & CTDB_CTRL_FLAG_NOREPLY) {
- reqid_remove(state->client->idr, state->reqid);
state->reply->status = 0;
tevent_req_done(req);
}