/* This is called to fill in the vector of log iovecs for the given quotaoff log item. We use only 1 iovec, and we point that at the quotaoff_log_format structure embedded in the quotaoff item. It is at this point that we assert that all of the extent slots in the quotaoff item have been filled.  */
STATIC void xfs_qm_qoff_logitem_format(xfs_qoff_logitem_t *qf, xfs_log_iovec_t *log_vector)
/* This is called to fill in the vector of log iovecs for the given quotaoff log item. We use only 1 iovec, and we point that at the quotaoff_log_format structure embedded in the quotaoff item. It is at this point that we assert that all of the extent slots in the quotaoff item have been filled.  */
STATIC void xfs_qm_qoff_logitem_format(xfs_qoff_logitem_t *qf, xfs_log_iovec_t *log_vector)
{
	ASSERT(qf->qql_format.qf_type == XFS_LI_QUOTAOFF);
	log_vector->i_addr = (xfs_caddr_t)&(qf->qql_format);
	log_vector->i_len = sizeof(xfs_qoff_logitem_t);
	XLOG_VEC_SET_TYPE(log_vector, XLOG_REG_TYPE_QUOTAOFF);
	qf->qql_format.qf_size = 1;
}