rem: rootfs_create_dir(fs_cookie _fs, fs_vnode _dir, const char *name, int perms, vnode_id *new_vnid)
add: rootfs_create_dir(fs_volume _fs, fs_vnode _dir, const char *name, int perms, vnode_id *new_vnid)
context: rootfs_create_dir(fs_cookie _fs, fs_vnode _dir, const char *name, int perms, vnode_id *new_vnid){	struct rootfs *fs = _fs;	struct rootfs_vnode *dir = _dir;	struct rootfs_vnode *vnode;	bool created_vnode = false;	status_t status = 0;	TRACE(("rootfs_create_dir: dir %p, name = '%s', perms = %d, id = 0x%Lx pointer id = %p\n", dir, name, perms,*new_vnid, new_vnid));	mutex_lock(&fs->lock);	vnode = rootfs_find_in_dir(dir, name);	if (vnode != NULL) {		status = B_FILE_EXISTS;		goto err;	}	dprintf("rootfs_create: creating new vnode\n");	vnode = rootfs_create_vnode(fs);	if (vnode == NULL) {		status = B_NO_MEMORY;		goto err;	}	created_vnode = true;	vnode->name = kstrdup(name);	if (vnode->name == NULL) {		status = B_NO_MEMORY;		goto err1;	}	vnode->stream.type = STREAM_TYPE_DIR;	vnode->parent = dir;	rootfs_insert_in_dir(dir, vnode);	hash_insert(fs->vnode_list_hash, vnode);	vnode->stream.dir.dir_head = NULL;	vnode->stream.dir.jar_head = NULL;	mutex_unlock(&fs->lock);	return 0;err1:	if (created_vnode)		rootfs_delete_vnode(fs, vnode, false);err:	mutex_unlock(&fs->lock);	return status;}