/* Called when the dentry loses inode. We use it to clean up silly-renamed files.  */
static void nfs_dentry_iput(struct dentry *dentry, struct inode *inode)
/* Called when the dentry loses inode. We use it to clean up silly-renamed files.  */
static void nfs_dentry_iput(struct dentry *dentry, struct inode *inode)
{
	if (S_ISDIR(inode->i_mode))
		NFS_I(inode)->cache_validity |= NFS_INO_INVALID_DATA;
	if (dentry->d_flags & DCACHE_NFSFS_RENAMED) {
		drop_nlink(inode);
		nfs_complete_unlink(dentry, inode);
	}
	iput(inode);
}