svn commit: samba r21181 - in branches/SAMBA_3_0/source/smbd: .

vlendec at samba.org vlendec at samba.org
Tue Feb 6 17:28:04 GMT 2007


Author: vlendec
Date: 2007-02-06 17:28:03 +0000 (Tue, 06 Feb 2007)
New Revision: 21181

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21181

Log:
Add some debug, fix the NT_STATUS_IO_TIMEOUT problems in the RAW-NOTIFY test
in the build farm.

Volker

Modified:
   branches/SAMBA_3_0/source/smbd/notify_internal.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/notify_internal.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/notify_internal.c	2007-02-06 15:31:17 UTC (rev 21180)
+++ branches/SAMBA_3_0/source/smbd/notify_internal.c	2007-02-06 17:28:03 UTC (rev 21181)
@@ -171,6 +171,7 @@
 				      (ndr_pull_flags_fn_t)ndr_pull_notify_array);
 
 	if (DEBUGLEVEL >= 10) {
+		DEBUG(10, ("notify_load:\n"));
 		NDR_PRINT_DEBUG(notify_array, notify->array);
 	}
 
@@ -225,6 +226,11 @@
 		return status;
 	}
 
+	if (DEBUGLEVEL >= 10) {
+		DEBUG(10, ("notify_save:\n"));
+		NDR_PRINT_DEBUG(notify_array, notify->array);
+	}
+
 	dbuf.dptr = (char *)blob.data;
 	dbuf.dsize = blob.length;
 		
@@ -667,11 +673,12 @@
 
 			if (NT_STATUS_EQUAL(
 				    status, NT_STATUS_INVALID_HANDLE)) {
+				struct server_id server = e->server;
 
 				DEBUG(10, ("Deleting notify entries for "
 					   "process %s because it's gone\n",
 					   procid_str_static(&e->server.id)));
-				notify_remove_all(notify, &e->server);
+				notify_remove_all(notify, &server);
 				goto again;
 			}
 		}



More information about the samba-cvs mailing list