From: Volker Lendecke Date: Thu, 14 Jul 2016 05:43:20 +0000 (+0200) Subject: smbd: Remove a reference to dbwrap_watch_db() X-Git-Tag: tdb-1.3.10~361 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=db020b390342ebe03cfa672bb9d3cffe28a404f7;p=thirdparty%2Fsamba.git smbd: Remove a reference to dbwrap_watch_db() This has never been watched, so it's an unnecessary overhead on dbwrap_record_store(). Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Fri Jul 15 20:32:19 CEST 2016 on sn-devel-144 --- diff --git a/source3/smbd/smbXsrv_client.c b/source3/smbd/smbXsrv_client.c index 7286b6e0208..ca04ae75ec7 100644 --- a/source3/smbd/smbXsrv_client.c +++ b/source3/smbd/smbXsrv_client.c @@ -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; }