/* Interface for inode allocation to force the pag data to be initialized.  */
int xfs_alloc_pagf_init(xfs_mount_t *mp, xfs_trans_t *tp, xfs_agnumber_t agno, int flags)
/* Interface for inode allocation to force the pag data to be initialized.  */
int xfs_alloc_pagf_init(xfs_mount_t *mp, xfs_trans_t *tp, xfs_agnumber_t agno, int flags)
{
	xfs_buf_t		*bp;
	int			error;
	if ((error = xfs_alloc_read_agf(mp, tp, agno, flags, &bp)))
		return error;
	if (bp)
		xfs_trans_brelse(tp, bp);
	return 0;
}