/* This is the callback from dput() when d_count is going to 0. We use this to unhash dentries with bad inodes.  */
static int smb_delete_dentry(struct dentry *)
/* This is the callback from dput() when d_count is going to 0. We use this to unhash dentries with bad inodes.  */
static int smb_delete_dentry(struct dentry *)
{
	if (dentry->d_inode) {
		if (is_bad_inode(dentry->d_inode)) {
			PARANOIA("bad inode, unhashing %s/%s\n",
				 DENTRY_PATH(dentry));
			return 1;
		}
	} else {
	}
	return 0;
}