xfsprogs: bump to 7.2.1

Bump from 6.19.0 to 7.2.1.

Add a patch changing the delta argument of xfs_trans_mod_sb() from long
to int64_t. libxfs/xfs_platform.h and libxfs/trans.c use long while
libxfs/xfs_trans.h declares int64_t, which conflict on 32-bit targets
where the two types differ.

Changelog: https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/tree/doc/CHANGES?h=v7.2.1

Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
This commit is contained in:
Roberto Andrei Bolda authored and Alexandru Ardelean committed 2026-11-17 11:45:57 +02:00
1 parent beeeacf1e2
commit 5af91abfc0
2 files changed
+40 -2

No files matched your search

+2 -2
View File
@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=xfsprogs
PKG_VERSION:=6.19.0
PKG_VERSION:=7.2.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/utils/fs/xfs/xfsprogs
PKG_HASH:=f3b0d758ed3802b20f838fefc42bbff431e0f0df2fe03cd50d0aa4ad86dcd0fc
PKG_HASH:=c45f5fd81fdebcdae61938fcfdff86c9960b39fc89a06df633730d93876cd27d
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_LICENSE:=GPL-2.0-only
@@ -0,0 +1,38 @@
From 522af6fdb6399f5820d46633011d0399bc08259c Mon Sep 17 00:00:00 2001
From: Roberto Andrei Bolda <rbolda@taladin.ro>
Date: Tue, 17 Nov 2026 10:39:06 +0200
Subject: [PATCH] libxfs: use int64_t for xfs_trans_mod_sb() delta
xfs_trans_mod_sb() is declared with an int64_t delta in xfs_trans.h but
with long in xfs_platform.h, and libxfs_trans_mod_sb() is defined with
long in trans.c. The types differ on 32-bit targets and the build fails
with conflicting types. Use int64_t everywhere.
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
---
libxfs/trans.c | 2 +-
libxfs/xfs_platform.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- a/libxfs/trans.c
+++ b/libxfs/trans.c
@@ -845,7 +845,7 @@ void
libxfs_trans_mod_sb(
xfs_trans_t *tp,
uint field,
- long delta)
+ int64_t delta)
{
switch (field) {
case XFS_TRANS_SB_RES_FDBLOCKS:
--- a/libxfs/xfs_platform.h
+++ b/libxfs/xfs_platform.h
@@ -408,7 +408,7 @@ int libxfs_mod_incore_sb(struct xfs_mou
/* 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);