notify_add() locks notify_onlevel.tdb while having notify.tdb locked.
file_free() calls notify_remove_onelevel(), and due to this talloc hierarchy
problem the tdb record is not unlocked again timely. Thus notify.tdb will be
locked while notify_onelevel still has a lock.
Sorry, Ronnie, for causing you some grey hair and thanks for the stacktraces.
Volker
}
rec = notify->db_onelevel->fetch_locked(
- notify->db_onelevel, talloc_tos(),
+ notify->db_onelevel, array,
make_tdb_data((uint8_t *)fid, sizeof(*fid)));
if (rec == NULL) {
DEBUG(10, ("notify_remove_onelevel: fetch_locked for %s failed"