> list_for_each_entry_safe(dfc, next, dfops_freezers, dfc_list) { > - error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, > - 0, XFS_TRANS_RESERVE, &tp); > + error = xfs_trans_alloc(mp, &dfc->dfc_tres, 0, 0, > + XFS_TRANS_RESERVE, &tp); ... and this fixes the weird itruncate thing. Nice!