added proper block->data->lock to file::acquire_block