From: Volker Lendecke Date: Wed, 14 Mar 2012 09:33:53 +0000 (+0100) Subject: s3: Replace some callers of cluster_id_equal X-Git-Tag: tdb-1.2.10~157 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=21375a6e5850b22687957db0d620aa84a956b287;p=thirdparty%2Fsamba.git s3: Replace some callers of cluster_id_equal Signed-off-by: Stefan Metzmacher --- diff --git a/source3/smbd/notify_internal.c b/source3/smbd/notify_internal.c index 4dbb331b50e..347d3305dfe 100644 --- a/source3/smbd/notify_internal.c +++ b/source3/smbd/notify_internal.c @@ -642,8 +642,7 @@ NTSTATUS notify_remove_onelevel(struct notify_context *notify, for (i=0; inum_entries; i++) { if ((private_data == array->entries[i].private_data) && - cluster_id_equal(¬ify->server, - &array->entries[i].server)) { + procid_equal(¬ify->server, &array->entries[i].server)) { break; } } @@ -738,7 +737,7 @@ NTSTATUS notify_remove(struct notify_context *notify, void *private_data) for (i=0;inum_entries;i++) { if (private_data == d->entries[i].private_data && - cluster_id_equal(¬ify->server, &d->entries[i].server)) { + procid_equal(¬ify->server, &d->entries[i].server)) { break; } } @@ -784,7 +783,7 @@ static NTSTATUS notify_remove_all(struct notify_context *notify, for (depth=0;deptharray->num_depths;depth++) { struct notify_depth *d = ¬ify->array->depth[depth]; for (i=0;inum_entries;i++) { - if (cluster_id_equal(server, &d->entries[i].server)) { + if (procid_equal(server, &d->entries[i].server)) { if (i < d->num_entries-1) { memmove(&d->entries[i], &d->entries[i+1], sizeof(d->entries[i])*(d->num_entries-(i+1)));