/* This is what a 'fresh' dquot inside a dquot chunk looks like on disk.  */
STATIC void xfs_qm_dqinit_core(xfs_dqid_t id, uint type, xfs_dqblk_t *d)
/* This is what a 'fresh' dquot inside a dquot chunk looks like on disk.  */
STATIC void xfs_qm_dqinit_core(xfs_dqid_t id, uint type, xfs_dqblk_t *d)
{
	d->dd_diskdq.d_magic = cpu_to_be16(XFS_DQUOT_MAGIC);
	d->dd_diskdq.d_version = XFS_DQUOT_VERSION;
	d->dd_diskdq.d_id = cpu_to_be32(id);
	d->dd_diskdq.d_flags = type;
}