Rev 606: merge from ronnie. Volker, can you look at this too? in http://samba.org/~tridge/3_0-ctdb

tridge at samba.org tridge at samba.org
Thu Aug 16 04:31:54 GMT 2007


------------------------------------------------------------
revno: 606
revision-id: tridge at samba.org-20070816043152-3coxvj92k9i1pfse
parent: tridge at samba.org-20070807031027-xq32d0dh348wxlvq
committer: Andrew Tridgell <tridge at samba.org>
branch nick: s3-ctdb-tridge
timestamp: Thu 2007-08-16 14:31:52 +1000
message:
  merge from ronnie. Volker, can you look at this too?
modified:
  source/smbd/server.c           server.c-20070210173807-1wjifrbwaz6xnmgl-1036
=== modified file 'source/smbd/server.c'
--- a/source/smbd/server.c	2007-06-02 05:38:09 +0000
+++ b/source/smbd/server.c	2007-08-16 04:31:52 +0000
@@ -265,6 +265,13 @@
 {
 	struct child_pid *child;
 
+	/* a child terminated so tickle all processes to see if they can
+	   grab any of the pending locks
+	*/
+	message_send_pid(procid_self(), MSG_SMB_BRL_VALIDATE, NULL, 0, False);
+	message_send_all(MSG_SMB_UNLOCK, NULL, 0, False, NULL);
+
+
 	if (lp_max_smbd_processes() == 0) {
 		/* Don't bother with the child list if we don't care anyway */
 		return;



More information about the samba-cvs mailing list