Beispiel #1
0
int OssFS::release(const char *path, struct fuse_file_info *fileInfo) 
{
	log_debug("path:%s", path);
	OssObject *obj = this->find_certain_path(path);;

	log_debug("obj:%p", obj);
	if (obj == NULL) 
	{
		return -ENOENT;
	}
		
	int res = obj->fclose(fileInfo);
	return res;

}