38 Commits

Author SHA1 Message Date
openeuler-ci-bot
438f810739
!56 [sync] PR-50: lvm2: fix three issues in one pr
Merge pull request !56 from openeuler-sync-bot/sync-pr50-openEuler-20.03-LTS-to-openEuler-20.03-LTS-SP3
2022-01-30 09:20:15 +00:00
Zhiqiang Liu
e1e302b32c lvm: code reduce cyclomatic complexity
enhance code and reduce cyclomatic complexity

Fix issue: https://gitee.com/src-openeuler/lvm2/issues/I4RZQQ

Signed-off-by:lixiaokeng <lixiaokeng@huawei.com>
Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
(cherry picked from commit 818c824b2b947a13cfc2ba66aae7fde665aed728)
2022-01-30 16:26:36 +08:00
Zhiqiang Liu
a398a5e4ac dev_name() determine whether the dev->aliases linked list is
empty before obtaining the dev name

If dev->aliases linked list is empty, then directly obtain the str
address of dm_str_list saved in dev_aliases.n, an unknown address
will be returned, which may cause segfault.

So we need to judge whether the dev->aliases linked list is empty before
getting it to avoid returning unknown address.

Fix issue: https://gitee.com/src-openeuler/lvm2/issues/I4RZP9

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
(cherry picked from commit e3c6fd1364353d109af874a81f263b642334aa69)
2022-01-30 16:26:36 +08:00
Zhiqiang Liu
ca5fa3b7b8 lvm2: check DM_NAME before creating symlink in 13-dm-disk.rules
check DM_NAME before creating symlink in 13-dm-disk.rules.

Fix issue: https://gitee.com/src-openeuler/lvm2/issues/I4RZLO

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
(cherry picked from commit dea4fb1f9ce5f5fd44d12274189dcdd67bdf6434)
2022-01-30 16:26:36 +08:00
openeuler-ci-bot
e600ceaf45
!48 lvm2: sync 20.03 LTS branches
Merge pull request !48 from liuzhiqiang/openEuler-20.03-LTS-SP3
2022-01-30 02:33:59 +00:00
Zhiqiang Liu
1119fb9aa2 lvm2: sync 20.03 LTS branches
Fix issues: https://gitee.com/src-openeuler/lvm2/issues/I4SGY3

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2022-01-30 09:25:46 +08:00
openeuler-ci-bot
17e0f28422 !17 fixed #I24ZQ1
From: @wguanghao
Reviewed-by: @lixiaokeng,@liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2020-11-13 11:27:36 +08:00
wguanghao
88a5007137 Merge branch 'openEuler-20.03-LTS-Next' of https://gitee.com/wguanghao/lvm2 into openEuler-20.03-LTS-Next 2020-11-12 19:17:50 +08:00
wguanghao
8a15b68205 add %{epoch} 2020-11-12 19:17:14 +08:00
wguanghao
f7b382497d add %{epoch} 2020-11-12 19:13:35 +08:00
openeuler-ci-bot
ba66783b0b !16 lvm: yum安装后无法直接使用man 查看帮助手册,更新spec,让主包安装时依赖help包
From: @lixiaokeng
Reviewed-by: @wubo009
Signed-off-by: @liuzhiqiang26
2020-11-10 19:19:19 +08:00
lixiaokeng
00b78cffb2 Set help package as install requires 2020-11-10 16:31:43 +08:00
openeuler-ci-bot
c3d277a046 !14 update lvm2 LTS version to 2.03.09
Merge pull request !14 from wguanghao/develop
2020-08-26 15:56:39 +08:00
zhangyouming
0c00a525c1 remove yaml file 2020-08-26 11:55:43 +08:00
zhangyouming
5c1f572244 update version to 2.03.09 2020-08-26 11:48:22 +08:00
openeuler-ci-bot
30df159ff5 !13 update release for rebuilding
Merge pull request !13 from smileknife/update-release
2020-08-18 21:55:35 +08:00
smileknife
5122c61c3b update release for rebuilding
Signed-off-by: smileknife <jackshan2010@aliyun.com>
2020-08-18 21:07:45 +08:00
wguanghao
5570c4d8ad update master branch device-mapper-version more than LTS branch 2020-08-06 14:38:06 +08:00
wguanghao
60bed57d6c update device-mapper-version to 1.02.151 2020-07-24 11:50:35 +08:00
openeuler-ci-bot
c407f8b36d !10 update lvm2 version to 2.03.09
Merge pull request !10 from wguanghao/develop
2020-07-23 10:59:20 +08:00
wangjun196@huawei.com
3760a19cd2 update lvm2 version to 2.03.09-1 2020-07-22 09:26:17 +08:00
openeuler-ci-bot
e38c075dac !8 add yaml file for ci
Merge pull request !8 from liuzhiqiang/master
2020-07-02 17:15:52 +08:00
openeuler-ci-bot
065e98d1f1 !7 当前补丁序号命名不太友好, 修改从0000开始
Merge pull request !7 from Paul.Wu/master
2020-07-02 14:21:41 +08:00
Zhiqiang Liu
09aad61118 add yaml file for ci 2020-07-02 11:55:03 +08:00
Wu Bo
6a722a9a0c rebuild package 2020-07-02 10:41:52 +08:00
openeuler-ci-bot
1ed851494c !6 update lvm2 to 2.02.187
Merge pull request !6 from lfl/master
2020-05-13 11:00:35 +08:00
wubo009
f04db9e1c1 update pkg in lts branch 2020-05-12 23:01:26 +08:00
openeuler-ci-bot
50e5c60f44 !5 add gdb BuildRequires in spec
Merge pull request !5 from hy/master
2020-03-20 16:17:04 +08:00
hy
2f0ac3e88a add the gdb buildrequire in lvm2.spec.
the building requires the gdb
2020-03-20 15:07:47 +08:00
openeuler-ci-bot
8cf07caa29 !4 backport patch to fix heap memory leak
Merge pull request !4 from wangjufeng/master
2020-03-11 16:35:02 +08:00
wangjufeng
455cf10856 backport patch to fix heap memory leak 2020-03-11 16:16:53 +08:00
openeuler-ci-bot
b7cc59d17b !3 Fix VERSION issue when packaging
Merge pull request !3 from hy/work
2020-01-15 05:05:40 +08:00
eulerstorage
831e2abea9 Fix VERSION issue when packaging
Signed-off-by: eulerstorage <eulerstorage@huawei.com>
2020-01-15 04:44:54 +08:00
openeuler-ci-bot
01822b0625 !2 sync bugfix patches
Merge pull request !2 from openeuler-storage/local
2019-12-30 14:36:35 +08:00
eulerstorage
28876fc2ad sync bugfix 2019-12-29 15:13:59 +08:00
dogsheng
61b9625884 Package init 2019-12-25 15:57:36 +08:00
dogsheng
1cca812e1e Package init 2019-12-13 15:46:32 +08:00
overweight
982b051619 Package init 2019-09-30 11:03:04 -04:00