/* There are several places in the diAlloc* routines where we initialize the inode.  */
static void diInitInode(struct inode *ip, int iagno, int ino, int extno, struct iag *iagp)
/* There are several places in the diAlloc* routines where we initialize the inode.  */
static void diInitInode(struct inode *ip, int iagno, int ino, int extno, struct iag *iagp)
{
	struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb);
	struct jfs_inode_info *jfs_ip = JFS_IP(ip);
	ip->i_ino = (iagno << L2INOSPERIAG) + ino;
	jfs_ip->ixpxd = iagp->inoext[extno];
	jfs_ip->agno = BLKTOAG(le64_to_cpu(iagp->agstart), sbi);
	jfs_ip->active_ag = -1;
}