@@ -85,8 +85,8 @@
#define trace_xfs_alloc_read_agf(a,b) ((void) 0)
#define trace_xfs_read_agi(a,b) ((void) 0)
#define trace_xfs_ialloc_read_agi(a,b) ((void) 0)
-#define trace_xfs_irec_merge_pre(a,b,c,d,e,f) ((void) 0)
-#define trace_xfs_irec_merge_post(a,b,c,d) ((void) 0)
+#define trace_xfs_irec_merge_pre(...) ((void) 0)
+#define trace_xfs_irec_merge_post(...) ((void) 0)
#define trace_xfs_iext_insert(a,b,c,d) ((void) 0)
#define trace_xfs_iext_remove(a,b,c,d) ((void) 0)
@@ -601,15 +601,12 @@ xfs_inobt_insert_sprec(
goto error;
}
- trace_xfs_irec_merge_pre(mp, pag->pag_agno, rec.ir_startino,
- rec.ir_holemask, nrec->ir_startino,
- nrec->ir_holemask);
+ trace_xfs_irec_merge_pre(pag, &rec, nrec);
/* merge to nrec to output the updated record */
__xfs_inobt_rec_merge(nrec, &rec);
- trace_xfs_irec_merge_post(mp, pag->pag_agno, nrec->ir_startino,
- nrec->ir_holemask);
+ trace_xfs_irec_merge_post(pag, nrec);
error = xfs_inobt_rec_check_count(mp, nrec);
if (error)