The branch, master has been updated
via 70e2418 s3/smbd: use correct talloc memory context for tevent
subrequests
from 28fad1c ctdb-daemon: Log a message when vfork() takes long time
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 70e241897564918a1e2ab6781a579c74f0e44e67
Author: Ralph Boehme <[email protected]>
Date: Sun Sep 18 17:14:37 2016 +0200
s3/smbd: use correct talloc memory context for tevent subrequests
Signed-off-by: Ralph Boehme <[email protected]>
Reviewed-by: Stefan Metzmacher <[email protected]>
Autobuild-User(master): Ralph Böhme <[email protected]>
Autobuild-Date(master): Mon Sep 19 23:25:37 CEST 2016 on sn-devel-144
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/server.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 97c0fdc..f1e64ac 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -456,7 +456,7 @@ static struct tevent_req *notifyd_init_send(struct
tevent_context *ev,
.ppid = ppid
};
- subreq = tevent_wakeup_send(req, ev, tevent_timeval_current_ofs(1, 0));
+ subreq = tevent_wakeup_send(state, ev, tevent_timeval_current_ofs(1,
0));
if (tevent_req_nomem(subreq, req)) {
return tevent_req_post(req, ev);
}
@@ -491,7 +491,7 @@ static void notifyd_init_trigger(struct tevent_req *subreq)
DBG_NOTICE("notifyd startup failed, rescheduling\n");
- subreq = tevent_wakeup_send(req, state->ev,
+ subreq = tevent_wakeup_send(state, state->ev,
tevent_timeval_current_ofs(1, 0));
if (tevent_req_nomem(subreq, req)) {
DBG_ERR("scheduling notifyd restart failed, giving up\n");
@@ -667,7 +667,7 @@ static struct tevent_req *cleanupd_init_send(struct
tevent_context *ev,
.ppid = ppid
};
- subreq = tevent_wakeup_send(req, ev, tevent_timeval_current_ofs(0, 0));
+ subreq = tevent_wakeup_send(state, ev, tevent_timeval_current_ofs(0,
0));
if (tevent_req_nomem(subreq, req)) {
return tevent_req_post(req, ev);
}
@@ -702,7 +702,7 @@ static void cleanupd_init_trigger(struct tevent_req *subreq)
DBG_NOTICE("cleanupd startup failed, rescheduling\n");
- subreq = tevent_wakeup_send(req, state->ev,
+ subreq = tevent_wakeup_send(state, state->ev,
tevent_timeval_current_ofs(1, 0));
if (tevent_req_nomem(subreq, req)) {
DBG_ERR("scheduling cleanupd restart failed, giving up\n");
--
Samba Shared Repository