summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 3010c74eca..7c80daf863 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -5609,7 +5609,7 @@ static void rename_open_files(connection_struct *conn,
}
/* Send messages to all smbd's (not ourself) that the name has changed. */
- rename_share_filename(smbd_messaging_context(), lck, conn->connectpath,
+ rename_share_filename(conn->sconn->msg_ctx, lck, conn->connectpath,
smb_fname_dst);
}