struct tdb_used_record rec;
int ret;
- off = find_and_lock(tdb, key, F_WRLCK, &h, &rec);
+ off = find_and_lock(tdb, key, F_WRLCK, &h, &rec, NULL);
if (unlikely(off == TDB_OFF_ERR))
return -1;
struct tdb_data new_dbuf;
int ret;
- off = find_and_lock(tdb, key, F_WRLCK, &h, &rec);
+ off = find_and_lock(tdb, key, F_WRLCK, &h, &rec, NULL);
if (unlikely(off == TDB_OFF_ERR))
return -1;
struct hash_info h;
struct tdb_data ret;
- off = find_and_lock(tdb, key, F_RDLCK, &h, &rec);
+ off = find_and_lock(tdb, key, F_RDLCK, &h, &rec, NULL);
if (unlikely(off == TDB_OFF_ERR))
return tdb_null;
struct tdb_used_record rec;
struct hash_info h;
- off = find_and_lock(tdb, key, F_WRLCK, &h, &rec);
+ off = find_and_lock(tdb, key, F_WRLCK, &h, &rec, NULL);
if (unlikely(off == TDB_OFF_ERR))
return -1;