-/*
- * Right now, we never look at the actually data being
- * passed to the kernel in iip->ii_dinode. Therefore,
- * if the same inode appears twice in the same block
- * (i.e. has the same disk address), it doesn't matter
- * which entry we pass. However, if we get the kernel
- * to start looking at the dinode, then we will care
- * and we'll need some way to distinguish which inode
- * is the more recent one.
- */
-int
-ii_compare(a, b)
- const void *a;
- const void *b;
-{
- const INODE_INFO *ia, *ib;
- int diff;
-
- ia = a;
- ib = b;
-
- if (diff = (int)(ia->ii_inode - ib->ii_inode))
- return (diff);
- if (diff = (int)(ia->ii_segcreate - ib->ii_segcreate))
- return (diff);
- diff = (int)(ia->ii_daddr - ib->ii_daddr);
- return (diff);
-}
-
-int
-ii_toss(dummy, a, b)
- const void *dummy;
- const void *a;
- const void *b;
-{
- const INODE_INFO *ia, *ib;
-
- ia = a;
- ib = b;
-
- return(ia->ii_inode == ib->ii_inode);
-}
-