[XFS] forgot a couple of calls to XLOG_VEC_SET_TYPE when porting from irix
to linux. SGI-PV: 931456 SGI-Modid: xfs-linux-melb:xfs-kern:25238a Signed-off-by: Tim Shimmin <tes@sgi.com> Signed-off-by: Nathan Scott <nathans@sgi.com>
This commit is contained in:
Родитель
a780143ea5
Коммит
fcce0f1f9a
|
@ -79,9 +79,11 @@ xfs_qm_dquot_logitem_format(
|
||||||
|
|
||||||
logvec->i_addr = (xfs_caddr_t)&logitem->qli_format;
|
logvec->i_addr = (xfs_caddr_t)&logitem->qli_format;
|
||||||
logvec->i_len = sizeof(xfs_dq_logformat_t);
|
logvec->i_len = sizeof(xfs_dq_logformat_t);
|
||||||
|
XLOG_VEC_SET_TYPE(logvec, XLOG_REG_TYPE_QFORMAT);
|
||||||
logvec++;
|
logvec++;
|
||||||
logvec->i_addr = (xfs_caddr_t)&logitem->qli_dquot->q_core;
|
logvec->i_addr = (xfs_caddr_t)&logitem->qli_dquot->q_core;
|
||||||
logvec->i_len = sizeof(xfs_disk_dquot_t);
|
logvec->i_len = sizeof(xfs_disk_dquot_t);
|
||||||
|
XLOG_VEC_SET_TYPE(logvec, XLOG_REG_TYPE_DQUOT);
|
||||||
|
|
||||||
ASSERT(2 == logitem->qli_item.li_desc->lid_size);
|
ASSERT(2 == logitem->qli_item.li_desc->lid_size);
|
||||||
logitem->qli_format.qlf_size = 2;
|
logitem->qli_format.qlf_size = 2;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче