94 Commits

Author SHA1 Message Date
cenhuilin
89ceeccb76 fsck: fix memory leak on an error exit
(cherry picked from commit e308b3ebb368db37733653199feb8488a669a1c0)
2024-07-05 10:42:36 +08:00
openeuler-ci-bot
e2a0bd4c11
!233 [sync] PR-232: e2fsck: update quota when deallocating a bad inode
From: @openeuler-sync-bot 
Reviewed-by: @swf504 
Signed-off-by: @swf504
2024-06-24 02:46:37 +00:00
liuh
dba37e07d1 e2fsck: update quota when deallocating a bad inode
(cherry picked from commit b0ae794398a139d0c0e376f931f76f089a3b6d15)
2024-06-22 14:48:56 +08:00
openeuler-ci-bot
a7a590f8a2
!230 [sync] PR-228: e2fsck: update quota accounting after directory optimization
From: @openeuler-sync-bot 
Reviewed-by: @swf504 
Signed-off-by: @swf504
2024-06-22 06:44:37 +00:00
liuh
5306a56874 e2fsck: update quota accounting after directory optimization
(cherry picked from commit 27ba442b09c6ac5edfc4310ee73e814220fbabe8)
2024-06-17 09:30:08 +08:00
openeuler-ci-bot
7f111e060f
!226 [sync] PR-225: e4crypt: fix spurious "Success" error message
From: @openeuler-sync-bot 
Reviewed-by: @swf504 
Signed-off-by: @swf504
2024-06-14 03:23:18 +00:00
liuh
9e8674e737 e4crypt: fix spurious Success error message
(cherry picked from commit 5f5dd8e368d10910b7485760be828cdb5de52552)
2024-06-05 19:39:37 +08:00
openeuler-ci-bot
76cf90331a
!202 回合上游社区补丁,修复debugfs中执行logdump死循环问题
From: @jinzig 
Reviewed-by: @wenchao-hao, @swf504 
Signed-off-by: @swf504
2024-05-06 01:49:55 +00:00
jinzhiguang
a95c09b0d5 debugfs: fix infinite loop while dumping the journal
Upstream patches regress for debugfs.

Signed-off-by: jinzhiguang <jinzhiguang@kylinos.cn>
2024-04-18 16:33:51 +08:00
openeuler-ci-bot
64d0e59dbd
!173 mke2fs.conf: remove metadata_csum_seed and orphan_file default setting
From: @liuzhiqiang26 
Reviewed-by: @swf504 
Signed-off-by: @swf504
2023-07-24 14:21:24 +00:00
Zhiqiang Liu
a89051fb74 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>
2023-07-24 17:16:01 +08:00
openeuler-ci-bot
397704e73f
!172 Upgrade to latest release [e2fsprogs: 1.46.5 2021/12/30 -> 1.47.0 2023/02/05]
From: @hifi521 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2023-07-24 08:56:40 +00:00
zhanchengbin
ec92b8eaf6 update package to v1.47.0
Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2023-07-22 15:03:01 +08:00
openeuler-ci-bot
ba257ae895
!170 e2fsprogs: avoid error information loss during journal replay
From: @hifi521 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2023-07-13 02:22:45 +00:00
zhanchengbin
cb081690eb e2fsprogs: avoid error information loss during journal replay
Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2023-07-11 15:52:42 +08:00
openeuler-ci-bot
434afbd639
!169 Fix rpmlint Provides/Obsoletes unversioned warnings
From: @xin3liang 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2023-07-11 07:42:38 +00:00
Xinliang Liu
7e4470e8fa Fix rpmlint Provides/Obsoletes unversioned warnings
It is recommended to specify version info for Provides/Obsoletes tags,
see Fedora rpm guide[1] for more details about Obsolete tag usage.

This also can fix below dnf update failure after installing lustre version
e2fsprogs rpm.
$ sudo dnf update
Last metadata expiration check: 0:00:29 ago on Tue Jul  4 11:06:44 2023.
Error:
 Problem 1: cannot install both e2fsprogs-1.46.5-4.oe1.aarch64 and e2fsprogs-1.46.6.wc1-0.oe1.aarch64
  - cannot install the best update candidate for package e2fsprogs-libs-1.46.6.wc1-0.oe1.aarch64
  - cannot install the best update candidate for package e2fsprogs-1.46.6.wc1-0.oe1.aarch64
 Problem 2: problem with installed package e2fsprogs-1.46.6.wc1-0.oe1.aarch64
  - cannot install both e2fsprogs-1.46.5-4.oe1.aarch64 and e2fsprogs-1.46.6.wc1-0.oe1.aarch64
  - cannot install the best update candidate for package libcom_err-1.46.6.wc1-0.oe1.aarch64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to us
e not only best candidate packages)

[1] https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-replacing-existing-packages

Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
2023-07-10 09:31:25 +00:00
openeuler-ci-bot
d812f55d71
!141 回合上游补丁用于debugfs, tune2fs, mmp
From: @handsome_brother 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2023-02-09 07:56:10 +00:00
lihaoxiang
54cbfd8607 Upstream patches regress for debugfs, tune2fs and mmp. 2023-02-08 21:47:31 -05:00
openeuler-ci-bot
03240727b4
!140 fsck可能会杀死其他进程
From: @hifi521 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2023-02-02 08:22:04 +00:00
zhanchengbin
b58a499fcf misc/fsck.c: Processes may kill other processes. 2023-01-30 17:27:06 +08:00
openeuler-ci-bot
78fbfcd8c5
!135 unix_io: fix deadlock problem in unix_write_blk64
From: @liuzhiqiang26 
Reviewed-by: @wubo009 
Signed-off-by: @wubo009
2022-12-01 09:12:34 +00:00
Zhiqiang Liu
4362b47807 unix_io: fix deadlock problem in unix_write_blk64
fix issue:https://gitee.com/src-openeuler/e2fsprogs/issues/I6250B

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2022-12-01 15:22:20 +08:00
openeuler-ci-bot
a76f6b50ee
!134 update package to v1.46.5
From: @hifi521 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-10-19 08:57:36 +00:00
zhanchengbin
698270542a update package to v1.46.5.
Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2022-10-19 15:51:06 +08:00
openeuler-ci-bot
d90d76e6af
!129 tune2fs:fix one segfault problem
From: @liuzhiqiang26 
Reviewed-by: @volcanodragon 
Signed-off-by: @volcanodragon
2022-10-14 06:11:43 +00:00
Zhiqiang Liu
a90d365e90 tune2fs:fix one segfault problem
fix issue:https://gitee.com/src-openeuler/e2fsprogs/issues/I5RYHG

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2022-10-14 10:38:47 +08:00
openeuler-ci-bot
7562b78937
!124 回退之前临时修改,使用社区最新的代码
From: @hifi521 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-09-24 01:12:44 +00:00
zhanchengbin
419607e8b2 fix ACL-printing tests from community
Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2022-09-23 10:01:31 +08:00
openeuler-ci-bot
343f1b90bd
!115 debugfs: teach logdump the -n <num_trans> option
From: @liuzhiqiang26 
Reviewed-by: @volcanodragon 
Signed-off-by: @volcanodragon
2022-08-20 06:10:54 +00:00
Zhiqiang Liu
d4ec9ac5dd debugfs: teach logdump the -n <num_trans> option
fix issue: https://gitee.com/e2fsprogs/issues/I5DAEO

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2022-08-20 12:49:08 +08:00
openeuler-ci-bot
648747606e
!109 tune2fs: do not change j_tail_sequence in journal superblock
From: @hifi521 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-08-15 07:09:07 +00:00
hifi521
c71e811811 tune2fs: do not change j_tail_sequence in journal superblock
Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2022-08-15 09:41:28 +08:00
openeuler-ci-bot
a6f69a594c
!103 添加sw架构
From: @wuzx065891 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-08-11 09:18:36 +00:00
wzx
a30236cefb e2fsprogs add sw
Add code related to sw64 in file configure configure.ac aclocal.m4 lib/blkid/llseek.c lib/ext2fs/unix_io.c to support sw64 architecture.

Signed-off-by: wzx <wuzx1226@qq.com>
2022-08-10 09:42:07 +08:00
openeuler-ci-bot
9bb10fcb05
!100 解决X86/ARM下e2fsprogs.i686包和e2fsprogs.x86_64在替换过程中冲突的问题
From: @handsome_brother 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-06-23 08:01:44 +00:00
lihaoxiang
1dd866f5d9 add wrapper header file for i686 and x86_64 then fix conflicts when intall i686 rpms. 2022-06-21 16:30:47 +08:00
openeuler-ci-bot
192cb786ab
!91 e2fsprogs: fix CVE-2022-1304
From: @liuzhiqiang26 
Reviewed-by: @volcanodragon 
Signed-off-by: @volcanodragon
2022-05-28 03:43:00 +00:00
Zhiqiang Liu
e742aede04 e2fsprogs: fix CVE-2022-1304
backport "libext2fs:add santiy check to extent manipulation" patch
to fix CVE-2022-1304.

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

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2022-05-28 10:02:53 +08:00
openeuler-ci-bot
eec4913743
!81 fix spec changelog date
From: @loong-C 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-05-23 15:09:05 +00:00
openeuler-ci-bot
4f1bace9f6
!80 e2fsck: handle->level is overflow in ext2fs_extent_get.
From: @hifi521 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-05-20 10:03:07 +00:00
hifi521
7c66cdaba9 e2fsck: handle->level is overflow in ext2fs_extent_get.
Fix issue: https://gitee.com/src-openeuler/e2fsprogs/issues/I4Z2KL

Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2022-05-20 15:14:05 +08:00
loong_C
c6a6f47e01 fix spec changelog date 2022-05-20 09:44:23 +08:00
openeuler-ci-bot
804d922f6b
!76 e2fsck: do not clean up file acl if the inode is truncating type
From: @hifi521 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-05-19 09:28:49 +00:00
zhanchengbin
0b6416e7f0 e2fsck: do not clean up file acl if the inode is truncating type
Fix issue: https://gitee.com/src-openeuler/e2fsprogs/issues/I586JP

Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2022-05-19 15:55:38 +08:00
openeuler-ci-bot
c3fdcdde9b
!61 tests: add warning for selinux in m_rootdir_acl
From: @hifi521 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-03-17 16:01:08 +00:00
zhanchengbin
4a0d10630f tests: skip m_rootdir_acl if selinux is not disabled
Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2022-03-17 11:05:42 +08:00
zhanchengbin
1a14e10376 tests: add warning for selinux in m_rootdir_acl
Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2022-03-16 20:07:46 +08:00
openeuler-ci-bot
ff03d4dc43
!58 修复1.46.4 fsck卡死问题
From: @hifi521 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-03-10 06:21:24 +00:00
zhanchengbin
e73c0b349c libext2fs: don't old the CACHE_MTX while doing I/O
Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2022-03-09 19:05:32 +08:00