1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-29 13:49:30 +03:00

r21181: Add some debug, fix the NT_STATUS_IO_TIMEOUT problems in the RAW-NOTIFY test

in the build farm.

Volker
(This used to be commit 3dd1bf667f)
This commit is contained in:
Volker Lendecke
2007-02-06 17:28:03 +00:00
committed by Gerald (Jerry) Carter
parent d3b3e02881
commit 6ab97dc69d

View File

@ -171,6 +171,7 @@ static NTSTATUS notify_load(struct notify_context *notify)
(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 @@ static NTSTATUS notify_save(struct notify_context *notify)
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 @@ void notify_trigger(struct notify_context *notify,
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;
}
}