s3:dbwrap_watch: use struct db_watched_record as rec->private_data for do_locked too
authorStefan Metzmacher <metze@samba.org>
Fri, 24 Jun 2022 12:54:40 +0000 (12:54 +0000)
committerRalph Boehme <slow@samba.org>
Tue, 26 Jul 2022 13:40:34 +0000 (13:40 +0000)
commit9356b1701c43c9ec2a71252a31e09555a1f5a3ea
treeb7cbf3eb4dfaae2f69e4139ce7fb8272003e6dff
parent420a595c1baa6062fcb7f672cf032287b4521a76
s3:dbwrap_watch: use struct db_watched_record as rec->private_data for do_locked too

There's no real reason to pass struct dbwrap_watched_do_locked_state
anymore. The only difference is that we can't use
talloc_get_type_abort().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15125

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/lib/dbwrap/dbwrap_watch.c