lvm2: upgrade 2.03.43 -> 2.03.44

Refresh 0001-implement-libc-specific-reopen_stream.patch. This also
upgrades libdevmapper, which shares lvm2.inc.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Khem Raj committed 2026-11-13 09:06:44 -08:00
1 parent d39e042f2a
commit 0cae00ea3a
2 files changed
+11 -15

No files matched your search

@@ -16,24 +16,22 @@ Signed-off-by: Dengke Du <dengke.du@windriver.com>
Upstream-Status: Pending
---
lib/log/log.c | 6 ++++++
tools/lvmcmdline.c | 6 +++---
lib/log/log.c | 6 ++++++
tools/lvmcmdline.c | 6 +++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/lib/log/log.c b/lib/log/log.c
index 90905e629..ed69662d0 100644
--- a/lib/log/log.c
+++ b/lib/log/log.c
@@ -165,6 +165,7 @@ static void _check_and_replace_standard_log_streams(FILE *old_stream, FILE *new_
@@ -165,6 +165,7 @@
* Close and reopen standard stream on file descriptor fd.
*/
int reopen_standard_stream(FILE **stream, const char *mode)
+#ifdef __GLIBC__
{
int fd, fd_copy, new_fd;
int fd, fd_copy, new_fd, ret;
const char *name;
@@ -211,6 +212,11 @@ int reopen_standard_stream(FILE **stream, const char *mode)
*stream = new_stream;
@@ -228,6 +229,11 @@
return 1;
}
+#else
@@ -44,11 +42,9 @@ index 90905e629..ed69662d0 100644
void init_log_fn(lvm2_log_fn_t log_fn)
{
diff --git a/tools/lvmcmdline.c b/tools/lvmcmdline.c
index 22ae1e3bb..b0928bc04 100644
--- a/tools/lvmcmdline.c
+++ b/tools/lvmcmdline.c
@@ -3427,7 +3427,7 @@ static int _check_standard_fds(void)
@@ -3425,7 +3425,7 @@
int err = is_valid_fd(STDERR_FILENO);
if (!is_valid_fd(STDIN_FILENO) &&
@@ -57,7 +53,7 @@ index 22ae1e3bb..b0928bc04 100644
if (err)
perror("stdin stream open");
else
@@ -3437,7 +3437,7 @@ static int _check_standard_fds(void)
@@ -3435,7 +3435,7 @@
}
if (!is_valid_fd(STDOUT_FILENO) &&
@@ -66,7 +62,7 @@ index 22ae1e3bb..b0928bc04 100644
if (err)
perror("stdout stream open");
/* else no stdout */
@@ -3445,7 +3445,7 @@ static int _check_standard_fds(void)
@@ -3443,7 +3443,7 @@
}
if (!is_valid_fd(STDERR_FILENO) &&
+2 -2
View File
@@ -18,8 +18,8 @@ SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main;tag=${PV_TAG} \
file://0001-include-libgen.h-for-basename.patch \
"
SRCREV = "7b0bce6909611966bdc1e17c2408e1ec3b0f8c17"
PV = "2.03.43"
SRCREV = "78606201edbdb0d1a47d622dd4a58fd52aaae4a1"
PV = "2.03.44"
PV_TAG = "v${@d.getVar('PV').replace('.', '_')}"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\_\d+)+)"