/* This is the callback from dput() when d_count is going to 0. We use this to unhash dentries with bad inodes. Closing files can be safely postponed until iput() - it's done there anyway.  */
static int ncp_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. Closing files can be safely postponed until iput() - it's done there anyway.  */
static int ncp_delete_dentry(struct dentry *)
{
	struct inode *inode = dentry->d_inode;
	if (inode) {
		if (is_bad_inode(inode))
			return 1;
	} else
	{
	}
	return 0;
}