This function is only called from
vfs_default_durable_reconnect(). It is really the lower-level routine
that triggers the write of the locking.tdb record.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
}
d->have_share_modes = true;
+ d->modified = true;
ret = true;
done:
TALLOC_FREE(ltdb);
DEBUG(10, ("vfs_default_durable_reconnect: opened file '%s'\n",
fsp_str_dbg(fsp)));
- /*
- * release the sharemode lock: this writes the changes
- */
- lck->data->modified = true;
TALLOC_FREE(lck);
*result = fsp;