Beispiel #1
0
int OssFS::write(const char *path, const char *buf, size_t size, 
				 off_t offset, struct fuse_file_info *fileInfo) 
{
	log_debug("path:%s", path);
	OssObject *obj = this->find_certain_path(path);;
	
	if (obj != NULL) {
		return obj->write_data(offset, size, buf);
	}
	return 0;
}