mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
locking: Do not use ctdb_kill() to kill smbd processes
ctdb_kill() is used to terminate processes spawned by CTDB. Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 7d025281ee70c91ebcd4d9a908de1045a689786b)
This commit is contained in:
parent
1d83df7516
commit
d39fbd60b9
@ -1058,7 +1058,7 @@ void ctdb_lock_blocked_handler(struct tevent_context *ev,
|
||||
process_name && strstr(process_name, "smbd")) {
|
||||
DEBUG(DEBUG_WARNING,
|
||||
("Deadlock detected. Killing smbd process (pid=%d)", blocker_pid));
|
||||
ctdb_kill(lock_ctx->ctdb, blocker_pid, SIGKILL);
|
||||
kill(blocker_pid, SIGKILL);
|
||||
}
|
||||
|
||||
free(process_name);
|
||||
|
Loading…
Reference in New Issue
Block a user