rem: FUNCTION(("vfs_create: path '%s', kernel %d\n", path, stream_type, args, kernel));
add: FUNCTION(("vfs_create: path '%s', omode %x, perms %d, kernel %d\n", path, omode, perms, kernel));
context: vfs_create(char *path, int omode, int perms, bool kernel){	char filename[SYS_MAX_NAME_LEN];	struct vnode *vnode, *newVnode;	file_cookie cookie;	vnode_id newID;	int status;	FUNCTION(("vfs_create: path '%s', kernel %d\n", path, stream_type, args, kernel));	status = path_to_dir_vnode(path, &vnode, filename, kernel);	if (status < 0)		return status;	if (FS_CALL(vnode,fs_create) == NULL) {		status = EROFS;		goto err;	}	status = FS_CALL(vnode,fs_create)(vnode->mount->cookie, vnode->priv_vnode, &cookie, &newID, filename, omode, perms);	if (status < 0)		goto err;	status = get_vnode(vnode->mount->id,newID,&newVnode,false);	if (status < 0)		goto err1;	status = new_file_fd(newVnode,cookie,kernel);	if (status >= 0)		return status;err1:	FS_CALL(vnode,fs_close)(newVnode->mount->cookie, newVnode->priv_vnode, cookie);	FS_CALL(vnode,fs_free_cookie)(newVnode->mount->cookie, newVnode->priv_vnode, cookie);	FS_CALL(vnode,fs_unlink)(vnode->mount->cookie, vnode->priv_vnode, filename);	dec_vnode_ref_count(newVnode, true, false);err:	dec_vnode_ref_count(vnode, true, false);	return status;}