release/src/linux/linux/fs/smbfs/dir.c
/*
 * This is the callback from dput() when d_count is going to 0.
 * We use this to unhash dentries with bad inodes.
 */
This is the callback from dput() when d_count is going to 0.
We use this to unhash dentries with bad inodes.
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 * 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;
}
static int smb_delete_dentry ( struct dentry * dentry ) { if ( dentry -> d_inode ) { if ( is_bad_inode ( dentry -> d_inode ) ) { PARANOIA ( " \n " , DENTRY_PATH ( dentry ) ) ; return 1 ; } } else { } return 0 ; }
This is the callback from dput() when d_count is going to 0.
This is the callback from dput () when d_count is going to 0 .
/* N.B. Unhash negative dentries? */