{
struct smbd_child_pid *child;
struct server_id child_id;
+ NTSTATUS status;
child_id = pid_to_procid(pid);
+ status = messaging_dgm_cleanup(parent->msg_ctx, pid);
+ DEBUG(10, ("%s: messaging_dgm_cleanup returned %s\n",
+ __func__, nt_errstr(status)));
+
for (child = parent->children; child != NULL; child = child->next) {
if (child->pid == pid) {
struct smbd_child_pid *tmp = child;
}
if (unclean_shutdown) {
- NTSTATUS status;
-
/* a child terminated uncleanly so tickle all
processes to see if they can grab any of the
pending locks
parent);
DEBUG(1,("Scheduled cleanup of brl and lock database after unclean shutdown\n"));
}
-
- status = messaging_dgm_cleanup(parent->msg_ctx, pid);
- DEBUG(10, ("%s: messaging_dgm_cleanup returned %s\n",
- __func__, nt_errstr(status)));
}
if (!serverid_deregister(child_id)) {