[packages/xfsprogs] Rel 2; fixes setting up project quota on a files

arekm arekm at pld-linux.org
Tue Dec 2 16:38:34 CET 2025


commit d53ce1ecaec1ef887a8952691090d6884a31addb
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Dec 2 16:38:26 2025 +0100

    Rel 2; fixes setting up project quota on a files

 quota-project.patch | 13 +++++++++++++
 xfsprogs.spec       |  5 ++++-
 2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/xfsprogs.spec b/xfsprogs.spec
index 1bdb808..68d118b 100644
--- a/xfsprogs.spec
+++ b/xfsprogs.spec
@@ -9,7 +9,7 @@ Summary:	Tools for the XFS filesystem
 Summary(pl.UTF-8):	Narzędzia do systemu plików XFS
 Name:		xfsprogs
 Version:	6.17.0
-Release:	1
+Release:	2
 License:	LGPL v2.1 (libhandle), GPL v2 (the rest)
 Group:		Applications/System
 Source0:	https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/%{name}-%{version}.tar.xz
@@ -17,6 +17,7 @@ Source0:	https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/%{name}-%{versio
 Source1:	xfs_lsprojid
 Patch0:		%{name}-miscfix-v2.patch
 Patch1:		%{name}-pl.po-update.patch
+Patch2:		quota-project.patch
 URL:		https://xfs.wiki.kernel.org/
 # for <attr/attributes.h>
 BuildRequires:	attr-devel
@@ -131,6 +132,8 @@ msgcat -F po/xfsprogs.pot.upstream -o po/xfsprogs.pot
 msgmerge po/pl.po.upstream po/xfsprogs.pot -o po/pl.po
 #%%patch -P 1 -p1 -b .orig
 
+%patch -P 2 -p1
+
 %{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' tools/git-contributors.py tools/xfsbuflock.py
 
 %build
diff --git a/quota-project.patch b/quota-project.patch
new file mode 100644
index 0000000..249b4f4
--- /dev/null
+++ b/quota-project.patch
@@ -0,0 +1,13 @@
+diff --git a/libfrog/file_attr.c b/libfrog/file_attr.c
+index c2cbcb4e..6801c545 100644
+--- a/libfrog/file_attr.c
++++ b/libfrog/file_attr.c
+@@ -114,7 +114,7 @@ xfrog_file_setattr(
+ 
+ 	file_attr_to_fsxattr(fa, &fsxa);
+ 
+-	error = ioctl(fd, FS_IOC_FSSETXATTR, fa);
++	error = ioctl(fd, FS_IOC_FSSETXATTR, &fsxa);
+ 	close(fd);
+ 
+ 	return error;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xfsprogs.git/commitdiff/d53ce1ecaec1ef887a8952691090d6884a31addb




More information about the pld-cvs-commit mailing list