s3: Remove smbd_messaging_context() from rename_open_files()
authorVolker Lendecke <vl@samba.org>
Sun, 4 Jul 2010 16:31:41 +0000 (18:31 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 5 Jul 2010 09:06:27 +0000 (11:06 +0200)
source3/smbd/reply.c

index 3010c74eca50212dd237e4dcc0d59fba9dbff6a0..7c80daf86318e964aa8802fac6811e4bfc6a534e 100644 (file)
@@ -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);
 
 }