Revert "s3: Fix a deadlock between notify_onelevel.tdb and notify.tdb"
authorStefan Metzmacher <metze@samba.org>
Mon, 18 Apr 2011 16:06:27 +0000 (18:06 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Apr 2011 16:10:34 +0000 (18:10 +0200)
This reverts commit b34035ebcbe4724f5530a15761c8f9aed237287e.

source3/smbd/notify_internal.c

index c8f8616d8b469a85a301bd2f25074c8631a82af7..243335c9fc61eaa8b17b174c7dcc58715c6a474a 100644 (file)
@@ -599,7 +599,7 @@ NTSTATUS notify_remove_onelevel(struct notify_context *notify,
        }
 
        rec = notify->db_onelevel->fetch_locked(
-               notify->db_onelevel, array,
+               notify->db_onelevel, talloc_tos(),
                make_tdb_data((uint8_t *)fid, sizeof(*fid)));
        if (rec == NULL) {
                DEBUG(10, ("notify_remove_onelevel: fetch_locked for %s failed"