/* RETURN VALUES: 0 - success. -EIO - i/o error.  */
static int diIAGRead(struct inomap *imap, int, struct metapage **)
/* RETURN VALUES: 0 - success. -EIO - i/o error.  */
static int diIAGRead(struct inomap *imap, int, struct metapage **)
{
	struct inode *ipimap = imap->im_ipimap;
	s64 blkno;
	blkno = IAGTOLBLK(iagno, JFS_SBI(ipimap->i_sb)->l2nbperpage);
	*mpp = read_metapage(ipimap, blkno, PSIZE, 0);
	if (*mpp == NULL) {
		return -EIO;
	}
	return (0);
}