summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-12-13 08:19:06 +0100
committerStefan Metzmacher <metze@samba.org>2011-12-13 12:36:35 +0100
commit173ea71686fa5ba34f418d6085a68c1c983659c5 (patch)
treed99cd1a1f60147d1bff498c64371e8fdd513f9fb /source3/smbd/server.c
parentd492a437beb0d2ba03984a4b4564c36987778428 (diff)
downloadsamba-173ea71686fa5ba34f418d6085a68c1c983659c5.tar.gz
samba-173ea71686fa5ba34f418d6085a68c1c983659c5.tar.bz2
samba-173ea71686fa5ba34f418d6085a68c1c983659c5.zip
s3:smbd: register MSG_SMB_FILE_RENAME after the fork
The parent smbd doesn't need to handle this, as it doesn't have any file handles open. metze
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index cc51979c34..9ce956db10 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -749,8 +749,6 @@ static bool open_sockets_smbd(struct smbd_parent_context *parent,
messaging_register(msg_ctx, NULL, MSG_SMB_SAM_SYNC, msg_sam_sync);
messaging_register(msg_ctx, NULL, MSG_SHUTDOWN, msg_exit_server);
- messaging_register(msg_ctx, NULL, MSG_SMB_FILE_RENAME,
- msg_file_was_renamed);
messaging_register(msg_ctx, ev_ctx, MSG_SMB_CONF_UPDATED,
smb_conf_updated);
messaging_register(msg_ctx, NULL, MSG_SMB_STAT_CACHE_DELETE,