72 Commits

Author SHA1 Message Date
chenrenhui
d813f85fec config: check for 0 from read
When the read returns 0, it could mean the file
was trimmed or some other type of problem.
In this case abort the potentially endless loop.

(cherry picked from commit 071845e9dda29eb7862dba16363711acafb812ca)
2025-03-31 10:10:35 +08:00
openeuler-ci-bot
01ac17a199
!211 同步修复在卸载或升级时留下无所有者的目录问题
From: @yanyan11222 
Reviewed-by: @kouwq 
Signed-off-by: @kouwq
2024-11-18 08:15:04 +00:00
yanshuai01
eccdf8f06e Avoid unowned %%{python3_sitelib}/lvmdbusd directory 2024-11-14 17:07:17 +08:00
openeuler-ci-bot
5ecf4e2319
!208 [sync] PR-204: fix 2 undeclared functions,support clang build
From: @openeuler-sync-bot 
Reviewed-by: @kouwq 
Signed-off-by: @kouwq
2024-11-08 01:03:21 +00:00
fandeyuan
903e05c02c fix function undeclared in libdm-common.c and dev-cache.c,support clang
(cherry picked from commit 570d83d90469f2cdc622e207c782ee6165562456)
2024-11-07 18:01:06 +08:00
openeuler-ci-bot
22c116d6b6
!185 dmstats: Fix memory leak on error path
From: @yanyan11222 
Reviewed-by: @kouwq 
Signed-off-by: @kouwq
2024-10-24 08:33:09 +00:00
yanshuai01
5ab6305ae8 dmstats: Fix memory leak on error path 2024-10-24 10:02:45 +08:00
openeuler-ci-bot
53aa4f5ba0
!181 [sync] PR-176: update repo url
From: @openeuler-sync-bot 
Reviewed-by: @swf504 
Signed-off-by: @swf504
2024-08-31 01:40:40 +00:00
Funda Wang
318d6b505f update repo url
(cherry picked from commit d788c6cdff92f80410829958bc331f32f7646dd1)
2024-08-27 19:48:34 +08:00
openeuler-ci-bot
12f7aa519d
!153 [sync] PR-146: lvm2-lockd: add support for ppc64le
From: @openeuler-sync-bot 
Reviewed-by: @swf504 
Signed-off-by: @swf504
2024-03-04 12:46:42 +00:00
peng.zou
03b3857d00 lvm2-lockd: add support for ppc64le
(cherry picked from commit 0b78310a7761f5dfe02ba7741f71f82588058a45)
2024-03-04 20:20:53 +08:00
openeuler-ci-bot
0d0ad27987
!138 [sync] PR-132: dm-event: release buffer on dm_event_get_version
From: @openeuler-sync-bot 
Reviewed-by: @swf504 
Signed-off-by: @swf504
2023-12-19 07:19:14 +00:00
wangzhiqiang
5910fa5ab2 dm-event: release buffer on dm_event_get_version
Signed-off-by: wangzhiqiang <wangzhiqiang95@huawei.com>
(cherry picked from commit 57fb0f79ef77b7ffc7ddcd73149651fc1b53cd31)
2023-12-19 14:26:17 +08:00
openeuler-ci-bot
13d3172dd7
!131 [sync] PR-127: fix an double free in the error path from _stats_creat_group
From: @openeuler-sync-bot 
Reviewed-by: @swf504 
Signed-off-by: @swf504
2023-12-18 03:38:56 +00:00
wuyifeng
7b3ffa45a7 fix an double free in the error path from _stats_creat_group
Signed-off-by: wuyifeng <wuyifeng10@huawei.com>
(cherry picked from commit d66f8e3a94b9521073e8901f761f254db033fd1e)
2023-12-18 10:22:28 +08:00
openeuler-ci-bot
5b8fd573a7
!114 fix an issue for the symlink of the by-uuid file lost
From: @foolstrong 
Reviewed-by: @wguanghao, @swf504 
Signed-off-by: @swf504
2023-11-14 09:52:18 +00:00
wangzhiqiang
9a108ba8d3 fix an issue for the symlink of the by-uuid file lost
Signed-off-by: wangzhiqiang <wangzhiqiang95@huawei.com>
2023-11-14 17:09:34 +08:00
openeuler-ci-bot
edf4b25045
!106 [sync] PR-105: backport upstream patches
From: @openeuler-sync-bot 
Reviewed-by: @swf504 
Signed-off-by: @swf504
2023-09-06 02:49:51 +00:00
wangzhiqiang
3168d5a200 fix some bugs
Signed-off-by: wangzhiqiang <wangzhiqiang95@huawei.com>
(cherry picked from commit 639fa142c7524c62f00d5cc76beff769212d969c)
2023-09-05 20:06:38 +08:00
openeuler-ci-bot
eae3b82d3e
!101 [sync] PR-100: backport some bugfix patches from upstream
From: @openeuler-sync-bot 
Reviewed-by: @swf504 
Signed-off-by: @swf504
2023-06-25 06:08:37 +00:00
wangzhiqiang
19570b92c6 backport some bugfix patches from upstream
Signed-off-by: wangzhiqiang <wangzhiqiang95@huawei.com>
(cherry picked from commit d81775f21f4c3229e5184787999c449b032b5e95)
2023-06-25 13:14:15 +08:00
openeuler-ci-bot
4fe1afca74
!97 [sync] PR-96: fix fail to create lv and pvid file leakage
From: @openeuler-sync-bot 
Reviewed-by: @swf504 
Signed-off-by: @swf504
2023-06-09 09:07:13 +00:00
wangzhiqiang
ed40e0ee4b fix fail to create lv and pvid file leakage
Signed-off-by: wangzhiqiang <wangzhiqiang95@huawei.com>
(cherry picked from commit 6f33124912129016c7cb1fc847142b64c56ce0f8)
2023-06-09 16:28:25 +08:00
openeuler-ci-bot
6685aa9075
!84 [sync] PR-83: backport some bugfix patches from upstream
From: @openeuler-sync-bot 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-12-19 09:33:42 +00:00
volcanodragon
8f174c9a91 backport some bugfix patches from upstream
(cherry picked from commit 21096c26e621dfa9d4ca0cafc016a2f1c7df6bf0)
2022-12-19 16:30:27 +08:00
openeuler-ci-bot
b2459875a4
!82 [sync] PR-81: 添加sw架构
From: @openeuler-sync-bot 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-11-09 07:56:51 +00:00
wzx
c133929a98 Add sw64 architecture
Signed-off-by: wzx <wuzx1226@qq.com>
(cherry picked from commit af0be30dc080efe5563d8eeaaddd532499a67720)
2022-11-09 15:31:42 +08:00
openeuler-ci-bot
3e350f2b08
!68 [sync] PR-66: 修改changelog中错误的版本格式
From: @openeuler-sync-bot 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-09-05 08:37:43 +00:00
wguanghao
a5efe23b66 fix error of epoch version
(cherry picked from commit c1a781465769042e67ac76fc49aa3ce5eeed16c7)
2022-09-05 16:21:44 +08:00
openeuler-ci-bot
82f5ec55d6
!62 【轻量级 PR】:修正changelog中的错误日期
From: @wangpeng_uniontech 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-05-11 06:59:19 +00:00
wangpeng
6348bb7963
修正changelog中的错误日期 2022-05-11 05:48:33 +00:00
openeuler-ci-bot
8120df8f35
!53 [sync] PR-51: lvm2: fix three issues in one pr
Merge pull request !53 from openeuler-sync-bot/sync-pr51-master-to-openEuler-22.03-LTS-Next
2022-01-30 08:55:35 +00:00
Zhiqiang Liu
62282b62fe 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 84f4c03aab3e0af6e75142f1d9332eb5e9b3fd52)
2022-01-30 16:24:29 +08:00
Zhiqiang Liu
eef279cab4 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 100c4fb387f1c6f9c5c54b377dcdd72c87c0c0bd)
2022-01-30 16:24:29 +08:00
Zhiqiang Liu
d512b0ac51 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 0cfb6fa80f12fb71c19e5a6b8d76eac838ecd333)
2022-01-30 16:24:29 +08:00
openeuler-ci-bot
df845647b3 !44 lvm2 22.03-LTS-Next 分支升级到2.03.14
From: @wguanghao
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-11-30 09:11:06 +00:00
wguanghao
1aead622a7 upgrade to 2.03.14 2021-11-30 16:28:35 +08:00
openeuler-ci-bot
479a5d1fa6 !32 %check modified to make run-unit-test
From: @wguanghao
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-07-29 08:15:20 +00:00
wguanghao
688870712e %check modified to make run-unit-test 2021-07-28 14:58:26 +08:00
openeuler-ci-bot
8b98570ef7 !29 lvreduce support --yes option
From: @wguanghao
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-07-28 06:03:57 +00:00
wguanghao
1e240c89d6 lvreduce support --yes option 2021-07-28 11:04:03 +08:00
openeuler-ci-bot
3cb19a165d !25 回退旧版本针对lvm2版本格式的修改,和社区保持一致
From: @wguanghao
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-07-27 10:59:29 +00:00
wguanghao
a5cb01722a revert commit of fix VERSION issue when packaging 2021-07-26 11:55:10 +08:00
openeuler-ci-bot
31be484d7e !28 remove unnecessary build require.
From: @zhouwenpei
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-07-23 09:30:44 +00:00
zhouwenpei
9ee8a63815 remove unnecessary build require. 2021-07-23 16:06:44 +08:00
openeuler-ci-bot
dd8aacb4ac !22 update lvm2 version to 2.03.11
From: @wguanghao
Reviewed-by: @volcanodragon
Signed-off-by: @liuzhiqiang26
2021-01-28 15:18:34 +08:00
yangl777
9c228276b8 update lvm2 version to 2.03.11 2021-01-28 11:23:06 +08:00
openeuler-ci-bot
3b1485a3fe !19 bugfix分支间同步
From: @markeryang
Reviewed-by: @wguanghao,@liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2020-12-30 14:23:33 +08:00
markeryang
d512270acf backport upstream patches-epoch2 to fix some problems 2020-12-23 11:21:35 +08:00
openeuler-ci-bot
dcb4669555 !15 lvm2添加make test
From: @lixiaokeng
Reviewed-by: @volcanodragon
Signed-off-by: @liuzhiqiang26
2020-11-05 14:41:03 +08:00