dentry = lookup_hash(&nd.last, nd.dentry); 
dentry = lookup_hash(&nd); 
asmlinkage long sys_rmdir(const char __user * pathname){	int error = 0;	char * name;	struct dentry *dentry;	struct nameidata nd;	name = getname(pathname);	if(IS_ERR(name))		return PTR_ERR(name);	error = path_lookup(name, LOOKUP_PARENT, &nd);	if (error)		goto exit;	switch(nd.last_type) {		case LAST_DOTDOT:			error = -ENOTEMPTY;			goto exit1;		case LAST_DOT:			error = -EINVAL;			goto exit1;		case LAST_ROOT:			error = -EBUSY;			goto exit1;	}	down(&nd.dentry->d_inode->i_sem);	dentry = lookup_hash(&nd.last, nd.dentry);	error = PTR_ERR(dentry);	if (!IS_ERR(dentry)) {		error = vfs_rmdir(nd.dentry->d_inode, dentry);		dput(dentry);	}	up(&nd.dentry->d_inode->i_sem);exit1:	path_release(&nd);exit:	putname(name);	return error;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/49705b7743fd8f5632a95ec4c6547d169d27ac1f/namei.c/buggy/fs/namei.c