mke2fs.conf: remove metadata_csum_seed and orphan_file default setting

For openeuler 24.03 LTS, remove metadata_csum_seed and orphan_file
default setting for keepint same with openeuler 22.03 LTS.

If anyone wants to use them, just add them in their own mke2fs.conf.

Fix issue: https://gitee.com/src-openeuler/e2fsprogs/issues/I7NIXN

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
This commit is contained in:
Zhiqiang Liu 2023-07-24 17:16:01 +08:00
parent 397704e73f
commit a89051fb74
2 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,34 @@
From 0cd03c6f0e68b5ed664eb885c0d4067ec217fb6b Mon Sep 17 00:00:00 2001
From: Zhiqiang Liu <liuzhiqiang26@huawei.com>
Date: Mon, 24 Jul 2023 17:08:10 +0800
Subject: [PATCH] mke2fs.conf: remove metadata_csum_seed and orphan_file
default setting
For openeuler 24.03 LTS, remove metadata_csum_seed and orphan_file
default setting for keepint same with openeuler 22.03 LTS.
If anyone wants to use them, just add them in their own mke2fs.conf.
Fix issue: https://gitee.com/src-openeuler/e2fsprogs/issues/I7NIXN
Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
---
misc/mke2fs.conf.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/misc/mke2fs.conf.in b/misc/mke2fs.conf.in
index b7fc95d..0568099 100644
--- a/misc/mke2fs.conf.in
+++ b/misc/mke2fs.conf.in
@@ -11,7 +11,7 @@
features = has_journal
}
ext4 = {
- features = has_journal,extent,huge_file,flex_bg,metadata_csum,metadata_csum_seed,64bit,dir_nlink,extra_isize,orphan_file
+ features = has_journal,extent,huge_file,flex_bg,metadata_csum,64bit,dir_nlink,extra_isize
}
small = {
blocksize = 1024
--
2.33.0

View File

@ -1,6 +1,6 @@
Name: e2fsprogs Name: e2fsprogs
Version: 1.47.0 Version: 1.47.0
Release: 1 Release: 2
Summary: Second extended file system management tools Summary: Second extended file system management tools
License: GPLv2+ and LGPLv2 and MIT License: GPLv2+ and LGPLv2 and MIT
URL: http://e2fsprogs.sourceforge.net/ URL: http://e2fsprogs.sourceforge.net/
@ -17,6 +17,7 @@ Patch7: 0007-e2fsck-handle-level-is-overflow-in-ext2fs_extent_get.patch
Patch8: 0008-e2fsprogs-add-sw64.patch Patch8: 0008-e2fsprogs-add-sw64.patch
Patch9: 0009-e2fsck-save-EXT2_ERROR_FS-flag-during-journal-replay.patch Patch9: 0009-e2fsck-save-EXT2_ERROR_FS-flag-during-journal-replay.patch
Patch10: 0010-tune2fs-fuse2fs-debugfs-save-error-information-durin.patch Patch10: 0010-tune2fs-fuse2fs-debugfs-save-error-information-durin.patch
Patch11: 0011-mke2fs.conf-remove-metadata_csum_seed-and-orphan_fil.patch
BuildRequires: gcc pkgconfig texinfo BuildRequires: gcc pkgconfig texinfo
BuildRequires: fuse-devel libblkid-devel libuuid-devel BuildRequires: fuse-devel libblkid-devel libuuid-devel
@ -157,6 +158,10 @@ exit 0
%{_mandir}/man8/* %{_mandir}/man8/*
%changelog %changelog
* Mon Jul 24 2023 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 1.47.0-2
- For openeuler 24.03 LTS, remove metadata_csum_seed and orphan_file
to keep same with openeuler 22.03 LTS.
* Sat Jul 22 2023 zhanchengbin <zhanchengbin1@huawei.com> - 1.47.0-1 * Sat Jul 22 2023 zhanchengbin <zhanchengbin1@huawei.com> - 1.47.0-1
- update package to v1.47.0. - update package to v1.47.0.