sbin/fsck/inode.c
/*
 * Clean up all the inode cache structure.
 */
Clean up all the inode cache structure.
Clean up all the inode cache structure .
void
inocleanup()
{
	register struct inoinfo **inpp;
	if (inphead == NULL)
		return;
	for (inpp = &inpsort[inplast - 1]; inpp >= inpsort; inpp--)
		free((char *)(*inpp));
	free((char *)inphead);
	free((char *)inpsort);
	inphead = inpsort = NULL;
}
void inocleanup ( ) { register struct inoinfo * * inpp ; if ( inphead == NULL ) return ; for ( inpp = & inpsort [ inplast - 1 ] ; inpp >= inpsort ; inpp -- ) free ( ( char * ) ( * inpp ) ) ; free ( ( char * ) inphead ) ; free ( ( char * ) inpsort ) ; inphead = inpsort = NULL ; }
Clean up all the inode cache structure.
Clean up all the inode cache structure .