rem: INSANE(("--devfs_lookup: returns %d\n",err));
context: devfs_lookup(fs_cookie _fs, fs_vnode _dir, const char *name, vnode_id *id){	struct devfs *fs = (struct devfs *)_fs;	struct devfs_vnode *dir = (struct devfs_vnode *)_dir;	struct devfs_vnode *vnode;	struct devfs_vnode *vdummy;	int err;	TRACE(("devfs_lookup: entry dir %p, name '%s'\n", dir, name));	if (dir->stream.type != STREAM_TYPE_DIR)		return ENOTDIR;	mutex_lock(&fs->lock);	// look it up	vnode = devfs_find_in_dir(dir, name);	if (!vnode) {		err = ERR_NOT_FOUND;		goto err;	}	err = vfs_get_vnode(fs->id, vnode->id, (fs_vnode *)&vdummy);	if (err < 0)		goto err;	*id = vnode->id;err:	mutex_unlock(&fs->lock);	INSANE(("--devfs_lookup: returns %d\n",err));	return err;}