return NT_STATUS_OK;
}
+struct file_id share_mode_lock_file_id(const struct share_mode_lock *lck)
+{
+ return lck->id;
+}
+
NTSTATUS share_mode_lock_access_private_data(struct share_mode_lock *lck,
struct share_mode_data **data)
{
DEBUG(1, ("talloc failed\n"));
return NULL;
}
+ lck->id = id;
if (static_share_mode_data != NULL) {
if (!file_id_equal(&static_share_mode_data->id, &id)) {
DEBUG(0, ("talloc failed\n"));
return;
}
+ state->lck->id = state->id;
state->lck->data = parse_share_modes(
state->lck,
state->status = NT_STATUS_NO_MEMORY;
return;
}
+ state->lck->id = state->id,
state->lck->data = parse_share_modes(
state->lck,
{
struct share_entry_forall_state *state = private_data;
struct share_mode_lock lck = {
+ .id = fid,
.data = discard_const_p(struct share_mode_data, data)
};
bool ok;