/* Since we're most likely to be called by dentry_iput(), we only use the dentry to find the sillydelete. We then copy the name into the qstr.  */
void nfs_complete_unlink(struct dentry *dentry, struct inode *inode)
/* Since we're most likely to be called by dentry_iput(), we only use the dentry to find the sillydelete. We then copy the name into the qstr.  */
void nfs_complete_unlink(struct dentry *dentry, struct inode *inode)
{
	struct nfs_unlinkdata	*data = NULL;
	spin_lock(&dentry->d_lock);
	if (dentry->d_flags & DCACHE_NFSFS_RENAMED) {
		dentry->d_flags &= ~DCACHE_NFSFS_RENAMED;
		data = dentry->d_fsdata;
	}
	spin_unlock(&dentry->d_lock);
	if (data != NULL && (NFS_STALE(inode) || !nfs_call_unlink(dentry, data)))
		nfs_free_unlinkdata(data);
}