NTTIME changed_write_time;
[skip] boolean8 fresh;
[skip] boolean8 modified;
- [skip] boolean8 have_share_modes;
[ignore] file_id id; /* In memory key used to lookup cache. */
} share_mode_data;
NDR_PRINT_DEBUG(share_mode_data, d);
}
- /*
- * We have a non-zero locking.tdb record that was correctly
- * parsed. This means a share_entries.tdb entry exists,
- * otherwise we'd have paniced before in
- * share_mode_data_store()
- */
- d->have_share_modes = true;
-
return d;
fail:
TALLOC_FREE(d);
/*
* Storing a fresh record with just one share entry
*/
- d->have_share_modes = true;
d->modified = true;
}
if ((ltdb->num_share_entries != 0 ) && (num_share_entries == 0)) {
/*
- * This routine wiped all share entries
+ * This routine wiped all share entries, let
+ * share_mode_data_store() delete the record
*/
- d->have_share_modes = false;
d->modified = true;
}
goto done;
}
- d->have_share_modes = true;
d->modified = true;
ret = true;
done: