Sync from SUSE:SLFO:Main xfsprogs revision 23dcde0f91bdd6e0b4d9af94d5797847

This commit is contained in:
2025-06-18 21:34:36 +02:00
parent f18e852162
commit b82c7ec2d6
7 changed files with 103 additions and 47 deletions

View File

@@ -1,35 +0,0 @@
From c849e53e4389da08901cef99a9d9dcd0cb4b0ef1 Mon Sep 17 00:00:00 2001
From: Anthony Iliopoulos <ailiop@suse.com>
Date: Tue, 18 Feb 2025 15:06:29 +0100
Subject: mkfs: fix filesize function compilation error on 32-bit archs
Commit 73fb78e5ee89 changed the return type of filesize() from long to
off_t, without changing the corresponding earlier declaration of the
function.
On 32-bit archs this breaks compilation as the off_t type is 8 bytes
(since the unit is compiled with -D_FILE_OFFSET_BITS=64) and that is
causing a conflicting type mismatch with the long type declaration.
Fixes: 73fb78e5ee89 ("mkfs: support copying in large or sparse files")
Signed-off-by: Anthony Iliopoulos <ailiop@suse.com>
---
mkfs/proto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mkfs/proto.c b/mkfs/proto.c
index 6dd3a2005b15..981f5b11567f 100644
--- a/mkfs/proto.c
+++ b/mkfs/proto.c
@@ -20,7 +20,7 @@ static struct xfs_trans * getres(struct xfs_mount *mp, uint blocks);
static void rsvfile(xfs_mount_t *mp, xfs_inode_t *ip, long long len);
static int newregfile(char **pp, char **fname);
static void rtinit(xfs_mount_t *mp);
-static long filesize(int fd);
+static off_t filesize(int fd);
static int slashes_are_spaces;
/*
--
2.47.0

View File

@@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQSuGyqVYnIab8QwfB9Gp+oYrDPhCAUCZ7MGkgAKCRBGp+oYrDPh
CI6rAPwM0VNd2avdTbIAhrA6jGtn56QYFuHHgfe3RZ1hw5sa4AD9HBkJ2s/nKf+P
9ogHdsycUNVktMTnFyVwDux1aYaUHwA=
=6c15
-----END PGP SIGNATURE-----

BIN
xfsprogs-6.13.0.tar.xz (Stored with Git LFS)

Binary file not shown.

7
xfsprogs-6.14.0.tar.sign Normal file
View File

@@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQSuGyqVYnIab8QwfB9Gp+oYrDPhCAUCZ/0opgAKCRBGp+oYrDPh
CEdvAQDM4BElMFkoMO+DTDGYt4K0x/Oj8irGcyo5neK4lMfSbgD7BRueiNLIb9vd
v3+qJq6Wbj2T4aj1VZm+EbLmL212bgw=
=ssya
-----END PGP SIGNATURE-----

BIN
xfsprogs-6.14.0.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,95 @@
-------------------------------------------------------------------
Wed Jun 11 19:40:41 UTC 2025 - Anthony Iliopoulos <ailiop@suse.com>
- update to 6.14.0
- xfs_scrub_all: localize the strings in the program
- xfs_protofile: add messages to localization catalog
- Makefile: inject package name/version/bugreport into pot file
- xfs_scrub_all: rename source code to .py.in
- xfs_protofile: rename source code to .py.in
- xfs_repair: handling a block with bad crc, bad uuid, and bad magic number needs fixing
- xfs_repair: fix stupid argument error in verify_inode_chunk
- xfs_repair: fix infinite loop in longform_dir2_entry_check*
- xfs_repair: fix crash in reset_rt_metadir_inodes
- xfs_repair: don't recreate /quota metadir if there are no quota inodes
- xfs_repair: fix wording of error message about leftover CoW blocks on the rt device
- xfs_io: Add cachestat syscall support
- xfs_io: Add RWF_DONTCACHE support to preadv2
- xfs_io: Add RWF_DONTCACHE support to pwritev2
- xfs_io: Add support for preadv2
- make: remove the .extradep file in libxfs on "make clean"
- xfs_{admin,repair},man5: tell the user to mount with nouuid for snapshots
- xfsprogs: Fix mismatched return type of filesize()
- xfs_io: don't fail FS_IOC_FSGETXATTR on filesystems that lack support
- configure: additionally get icu-uc from pkg-config
- xfs_scrub: use the display mountpoint for reporting file corruptions
- xfs_scrub: don't warn about zero width joiner control characters
- xfs_scrub: fix buffer overflow in string_escape
- xfs_db: add command to copy directory trees out of filesystems
- xfs_db: make listdir more generally useful
- xfs_db: use an empty transaction to try to prevent livelocks in path_navigate
- xfs_db: pass const pointers when we're not modifying them
- mkfs: enable reflink on the realtime device
- mkfs: validate CoW extent size hint when rtinherit is set
- xfs_logprint: report realtime CUIs
- xfs_repair: validate CoW extent size hint on rtinherit directories
- xfs_repair: allow realtime files to have the reflink flag set
- xfs_repair: rebuild the realtime refcount btree
- xfs_repair: reject unwritten shared extents
- xfs_repair: check existing realtime refcountbt entries against observed refcounts
- xfs_repair: compute refcount data for the realtime groups
- xfs_repair: find and mark the rtrefcountbt inode
- xfs_repair: use realtime refcount btree data to check block types
- xfs_repair: allow CoW staging extents in the realtime rmap records
- xfs_spaceman: report health of the realtime refcount btree
- xfs_db: add rtrefcount reservations to the rgresv command
- xfs_db: copy the realtime refcount btree
- xfs_db: support the realtime refcountbt
- xfs_db: display the realtime refcount btree contents
- man: document userspace API changes due to rt reflink
- mkfs: create the realtime rmap inode
- xfs_logprint: report realtime RUIs
- xfs_repair: reserve per-AG space while rebuilding rt metadata
- xfs_repair: rebuild the bmap btree for realtime files
- xfs_repair: check for global free space concerns with default btree slack levels
- xfs_repair: rebuild the realtime rmap btree
- xfs_repair: always check realtime file mappings against incore info
- xfs_repair: check existing realtime rmapbt entries against observed rmaps
- xfs_repair: find and mark the rtrmapbt inodes
- xfs_repair: refactor realtime inode check
- xfs_repair: create a new set of incore rmap information for rt groups
- xfs_repair: use realtime rmap btree data to check block types
- xfs_repair: flag suspect long-format btree blocks
- xfs_repair: tidy up rmap_diffkeys
- xfs_spaceman: report health status of the realtime rmap btree
- xfs_db: add an rgresv command
- xfs_db: make fsmap query the realtime reverse mapping tree
- xfs_db: copy the realtime rmap btree
- xfs_db: support the realtime rmapbt
- xfs_db: display the realtime rmap btree contents
- xfs_db: don't abort when bmapping on a non-extents/bmbt fork
- xfs_db: compute average btree height
- man: document userspace API changes due to rt rmap
- xfs_scrub: try harder to fill the bulkstat array with bulkstat()
- xfs_scrub: ignore freed inodes when single-stepping during phase 3
- xfs_scrub: hoist the phase3 bulkstat single stepping code
- xfs_scrub: don't blow away new inodes in bulkstat_single_step
- xfs_scrub: return early from bulkstat_for_inumbers if no bulkstat data
- xfs_scrub: don't complain if bulkstat fails
- xfs_scrub: don't
- xfs_scrub: don't double-scan inodes during phase 3
- xfs_scrub: actually iterate all the bulkstat records
- xfs_scrub: selectively re-run bulkstat after re-running inumbers
- xfs_scrub: remove flags argument from scrub_scan_all_inodes
- xfs_scrub: call bulkstat directly if we're only scanning user files
- xfs_scrub: don't report data loss in unlinked inodes twice
- man: document new XFS_BULK_IREQ_METADIR flag to bulkstat
- xfs_db: obfuscate rt superblock label when metadumping
- mkfs,xfs_repair: don't pass a daddr as the flags argument
- drop mkfs-fix-filesize-function-compilation-error-on-32-b.patch
- now part of the release (merged in v6.14.0)
-------------------------------------------------------------------
Tue Feb 18 14:56:17 UTC 2025 - Anthony Iliopoulos <ailiop@suse.com>

View File

@@ -25,7 +25,7 @@
%endif
%define libname libhandle1
Name: xfsprogs
Version: 6.13.0
Version: 6.14.0
Release: 0
Summary: Utilities for managing the XFS file system
License: GPL-2.0-or-later
@@ -37,7 +37,6 @@ Source2: %{name}.keyring
Source3: module-setup.sh.in
Source4: dracut-fsck-help.txt
Patch0: xfsprogs-docdir.diff
Patch1: mkfs-fix-filesize-function-compilation-error-on-32-b.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++