From 499e7372bea051fa08c078d02175d6ea1e6ce8f9 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 20 Apr 2012 10:37:24 +0200 Subject: s3:id_cache: do not use the in-memory idmap cache (it is going to be removed) This also removes the ID_CACHE_FLUSH message. --- source3/smbd/server.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'source3/smbd/server.c') diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 912d7a129b..363203e515 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -248,17 +248,6 @@ static void smbd_parent_id_cache_kill(struct messaging_context *msg_ctx, messaging_send_to_children(msg_ctx, msg_type, data); } -static void smbd_parent_id_cache_flush(struct messaging_context *ctx, - void* data, - uint32_t msg_type, - struct server_id srv_id, - DATA_BLOB* msg_data) -{ - id_cache_flush_message(ctx, data, msg_type, srv_id, msg_data); - - messaging_send_to_children(ctx, msg_type, msg_data); -} - static void smbd_parent_id_cache_delete(struct messaging_context *ctx, void* data, uint32_t msg_type, @@ -911,8 +900,6 @@ static bool open_sockets_smbd(struct smbd_parent_context *parent, messaging_register(msg_ctx, NULL, MSG_SMB_FORCE_TDIS, smb_parent_force_tdis); - messaging_register(msg_ctx, NULL, - ID_CACHE_FLUSH, smbd_parent_id_cache_flush); messaging_register(msg_ctx, NULL, ID_CACHE_DELETE, smbd_parent_id_cache_delete); messaging_register(msg_ctx, NULL, -- cgit