]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Remove a reference to dbwrap_watch_db()
authorVolker Lendecke <vl@samba.org>
Thu, 14 Jul 2016 05:43:20 +0000 (07:43 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 15 Jul 2016 18:32:19 +0000 (20:32 +0200)
This has never been watched, so it's an unnecessary overhead on
dbwrap_record_store().

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Jul 15 20:32:19 CEST 2016 on sn-devel-144

source3/smbd/smbXsrv_client.c

index 7286b6e02081bad1e5140bf865708afdf20c22a5..ca04ae75ec77da172221b108e6c7387ea6bcb91b 100644 (file)
@@ -167,8 +167,6 @@ static NTSTATUS smbXsrv_client_table_create(TALLOC_CTX *mem_ctx,
 
        table->global.db_ctx = smbXsrv_client_global_db_ctx;
 
-       dbwrap_watch_db(table->global.db_ctx, msg_ctx);
-
        *_table = table;
        return NT_STATUS_OK;
 }