diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-02-06 17:28:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:17:46 -0500 |
commit | 6ab97dc69dab505699ef44d43a19fa7835e28751 (patch) | |
tree | 428ffa030be9e32b675c7a6db93c6df790bef2fb | |
parent | d3b3e028818c80404e053ff0280c051d99728a69 (diff) | |
download | samba-6ab97dc69dab505699ef44d43a19fa7835e28751.tar.gz samba-6ab97dc69dab505699ef44d43a19fa7835e28751.tar.bz2 samba-6ab97dc69dab505699ef44d43a19fa7835e28751.zip |
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 3dd1bf667f42bd03a7b7159b9c2ad9ccbd269130)
-rw-r--r-- | source3/smbd/notify_internal.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/smbd/notify_internal.c b/source3/smbd/notify_internal.c index 885c85fbc8..72b9604935 100644 --- a/source3/smbd/notify_internal.c +++ b/source3/smbd/notify_internal.c @@ -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; } } |