In the future, there won't be a record anymore
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
timespec changed_write_time;
[skip] boolean8 fresh;
[skip] boolean8 modified;
- [ignore] db_record *record;
[ignore] file_id id; /* In memory key used to lookup cache. */
} share_mode_data;
}
d->id = id;
- d->record = rec;
static_share_mode_data = d;
smb_panic("Could not store share mode data\n");
}
- /*
- * Drop the locking.tdb lock before moving the share_mode_data
- * to memcache
- */
- SMB_ASSERT(static_share_mode_data->record == static_share_mode_record);
- static_share_mode_data->record = NULL;
-
if (static_share_mode_record_talloced) {
TALLOC_FREE(static_share_mode_record);
}