/* This function is called by iget5_locked() to distinguish reiserfs inodes having the same inode numbers. Such inodes can only exist due to some error condition. One of them should be bad. Inodes with identical inode numbers (objectids) are distinguished by parent directory ids.  */
int reiserfs_find_actor(struct inode *inode, void *opaque)
/* This function is called by iget5_locked() to distinguish reiserfs inodes having the same inode numbers. Such inodes can only exist due to some error condition. One of them should be bad. Inodes with identical inode numbers (objectids) are distinguished by parent directory ids.  */
int reiserfs_find_actor(struct inode *inode, void *opaque)
{
	struct reiserfs_iget_args *args;
	args = opaque;
	return (inode->i_ino == args->objectid) &&
	    (le32_to_cpu(INODE_PKEY(inode)->k_dir_id) == args->dirid);
}