Ejemplo n.º 1
0
int mf_close(mf_handle_t mf){
	LOG(INFO, "mf_close called\n");
	assert(mf);

	struct _mf * _mf = (struct _mf *) mf;
  	chunk_manager_finalize(&_mf -> cm);
	close(_mf -> fd);
	free(_mf);
	return 0;
}
int local_chunk_manager_finalize (struct local_chunk_manager *lcm){
       return chunk_manager_finalize(&lcm -> cm);
}