From 6a857c9b2c9343acfc235bae65e5422e10d38963 Mon Sep 17 00:00:00 2001 From: Pavel Reichl Date: Tue, 20 Jun 2023 10:09:10 +0200 Subject: [PATCH] Fix man page default for sparse mkfs option --- .xfsprogs.metadata | 2 ++ ...an-s-default-value-for-sparse-option.patch | 28 +++++++++++++++++++ xfsprogs.spec | 6 +++- 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 .xfsprogs.metadata create mode 100644 xfsprogs-rhelonly-mkfs-fix-man-s-default-value-for-sparse-option.patch diff --git a/.xfsprogs.metadata b/.xfsprogs.metadata new file mode 100644 index 0000000..2af2860 --- /dev/null +++ b/.xfsprogs.metadata @@ -0,0 +1,2 @@ +12afbdd497603b98945ea18f9aa5a78c671a6e4c xfsprogs-5.19.0.tar.xz +046291e741aea0f98fbe40a73c6728ba13e8f747 xfsprogs-5.19.0.tar.sign diff --git a/xfsprogs-rhelonly-mkfs-fix-man-s-default-value-for-sparse-option.patch b/xfsprogs-rhelonly-mkfs-fix-man-s-default-value-for-sparse-option.patch new file mode 100644 index 0000000..5394112 --- /dev/null +++ b/xfsprogs-rhelonly-mkfs-fix-man-s-default-value-for-sparse-option.patch @@ -0,0 +1,28 @@ +From 31980fef484df925b23824244de8ef353e436cef Mon Sep 17 00:00:00 2001 +From: Pavel Reichl +Date: Thu, 8 Jun 2023 10:57:52 +0200 +Subject: [PATCH] mkfs: fix man's default value for sparse option + +Fixes: 9cf846b51 ("mkfs: enable sparse inodes by default") +Suggested-by: Lukas Herbolt +Signed-off-by: Pavel Reichl +--- + man/man8/mkfs.xfs.8.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/man/man8/mkfs.xfs.8.in b/man/man8/mkfs.xfs.8.in +index 49e64d47a..48e26ece7 100644 +--- a/man/man8/mkfs.xfs.8.in ++++ b/man/man8/mkfs.xfs.8.in +@@ -631,7 +631,7 @@ Enable sparse inode chunk allocation. The + .I value + is either 0 or 1, with 1 signifying that sparse allocation is enabled. + If the value is omitted, 1 is assumed. Sparse inode allocation is +-disabled by default. This feature is only available for filesystems ++enabled by default. This feature is only available for filesystems + formatted with + .B \-m crc=1. + .IP +-- +2.40.1 + diff --git a/xfsprogs.spec b/xfsprogs.spec index d37f431..20fa2b7 100644 --- a/xfsprogs.spec +++ b/xfsprogs.spec @@ -1,7 +1,7 @@ Summary: Utilities for managing the XFS filesystem Name: xfsprogs Version: 5.19.0 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL+ and LGPLv2+ URL: https://xfs.wiki.kernel.org Source0: http://kernel.org/pub/linux/utils/fs/xfs/xfsprogs/%{name}-%{version}.tar.xz @@ -35,6 +35,7 @@ Patch9: xfsprogs-5.19.0-xfs-get-rid-of-assert-from-xfs_btree_islastblock.patch Patch10: xfsprogs-5.19.0-xfs-removed-useless-condition-in-function-xfs_attr_n.patch Patch11: xfsprogs-5.19.0-xfs_repair-retain-superblock-buffer-to-avoid-write-h.patch Patch12: xfsprogs-kernel-xfs-set-bnobt-cntbt-numrecs-correctly-when-formattin.patch +Patch13: xfsprogs-rhelonly-mkfs-fix-man-s-default-value-for-sparse-option.patch %description A set of commands to use the XFS filesystem, including mkfs.xfs. @@ -146,6 +147,9 @@ install -m 0644 %{SOURCE3} %{buildroot}%{mkfsdir} %{_libdir}/*.so %changelog +* Tue Jun 20 2023 Pavel Reichl - 5.19.0-3 +- Fix man page default for sparse mkfs option (#2216118) + * Fri May 26 2023 Pavel Reichl - 5.19.0-2 - Fix xfs corrupted when AG size is a multiple of stripe width - Related: rhbz#2192982