--- ./libxfs/xfs_platform.h.orig	2026-10-14 07:54:57.000000000 -0500
+++ ./libxfs/xfs_platform.h	2026-11-07 15:32:23.098820221 -0600
@@ -408,7 +408,7 @@
 /* percpu counters in mp are #defined to the superblock sb_ counters */
 #define xfs_reinit_percpu_counters(mp)
 
-void xfs_trans_mod_sb(struct xfs_trans *, uint, long);
+void xfs_trans_mod_sb(struct xfs_trans *, uint, int64_t);
 
 void xfs_verifier_error(struct xfs_buf *bp, int error,
 			xfs_failaddr_t failaddr);
--- ./libxfs/trans.c.orig	2026-10-15 03:51:06.000000000 -0500
+++ ./libxfs/trans.c	2026-11-07 15:33:26.345549565 -0600
@@ -845,7 +845,7 @@
 libxfs_trans_mod_sb(
 	xfs_trans_t		*tp,
 	uint			field,
-	long			delta)
+	int64_t			delta)
 {
 	switch (field) {
 	case XFS_TRANS_SB_RES_FDBLOCKS:
