dbwrap_watch: Remove the "prec" parameter from watch_recv
authorVolker Lendecke <vl@samba.org>
Sat, 1 Jul 2017 06:27:57 +0000 (08:27 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 29 Nov 2017 15:59:15 +0000 (16:59 +0100)
commit2f8055f676a52b01a609611bbc3361442bb81a9b
tree98522e3592479ed6092413cc1112527a368d11c7
parent4e86c322147ccf6e741b19ffb14fdd0d22bf927b
dbwrap_watch: Remove the "prec" parameter from watch_recv

The initial idea was to have some "atomicity" in this API. Every
caller interested in a record would have to do something with
it once it changes. However, only one caller really used this
feature, and that is easily changed to not use it. So
remove the complexity.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/lib/dbwrap/dbwrap_watch.c
source3/lib/dbwrap/dbwrap_watch.h
source3/lib/g_lock.c
source3/smbd/open.c
source3/smbd/smb2_setinfo.c
source3/smbd/smbXsrv_session.c
source3/torture/test_dbwrap_watch.c