rem: }
context: rootfs_lookup(fs_cookie _fs, fs_vnode _dir, const char *name, vnode_id *id){	struct rootfs *fs = (struct rootfs *)_fs;	struct rootfs_vnode *dir = (struct rootfs_vnode *)_dir;	struct rootfs_vnode *v;	struct rootfs_vnode *v1;	int err;	TRACE(("rootfs_lookup: entry dir 0x%x, name '%s'\n", dir, name));	mutex_lock(&fs->lock);	// look it up	v = rootfs_find_in_dir(dir, name);	if(!v) {		err = ENOENT;		goto err;	}	err = vfs_get_vnode(fs->id, v->id, (fs_vnode *)&v1);	if(err < 0) {		goto err;	}	*id = v->id;	err = B_NO_ERROR;err:	mutex_unlock(&fs->lock);	return err;}