!25 [sync] PR-23: 【Mainline】Backport upstream patch to remove node from the correct list
From: @openeuler-sync-bot Reviewed-by: @HuaxinLuGitee Signed-off-by: @HuaxinLuGitee
This commit is contained in:
commit
661529aa37
28
backport-Remove-from-the-correct-list.patch
Normal file
28
backport-Remove-from-the-correct-list.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
From a9f3b002da2405eb93876610608f968d8108a2b6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Simo Sorce <simo@redhat.com>
|
||||||
|
Date: Mon, 11 Mar 2024 17:17:00 -0400
|
||||||
|
Subject: [PATCH] Remove from the correct list
|
||||||
|
|
||||||
|
Fixes #92
|
||||||
|
|
||||||
|
Signed-off-by: Simo Sorce <simo@redhat.com>
|
||||||
|
---
|
||||||
|
src/gp_workers.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/gp_workers.c b/src/gp_workers.c
|
||||||
|
index 78e8347..0519777 100644
|
||||||
|
--- a/src/gp_workers.c
|
||||||
|
+++ b/src/gp_workers.c
|
||||||
|
@@ -189,7 +189,7 @@ void gp_workers_free(struct gp_workers *w)
|
||||||
|
while (w->busy_list) {
|
||||||
|
/* pick threads one by one */
|
||||||
|
t = w->busy_list;
|
||||||
|
- LIST_DEL(w->free_list, t);
|
||||||
|
+ LIST_DEL(w->busy_list, t);
|
||||||
|
|
||||||
|
/* wake up threads, then join them */
|
||||||
|
/* ======> COND_MUTEX */
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -7,12 +7,14 @@
|
|||||||
|
|
||||||
Name: gssproxy
|
Name: gssproxy
|
||||||
Version: 0.9.2
|
Version: 0.9.2
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: GSSAPI Proxy
|
Summary: GSSAPI Proxy
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/gssapi/gssproxy
|
URL: https://github.com/gssapi/gssproxy
|
||||||
Source0: https://github.com/gssapi/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/gssapi/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
Patch1: backport-Remove-from-the-correct-list.patch
|
||||||
|
|
||||||
Requires: krb5 keyutils libverto-module-base libini_config
|
Requires: krb5 keyutils libverto-module-base libini_config
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
@ -110,6 +112,9 @@ mkdir -p %{buildroot}%{gpstatedir}/rcache
|
|||||||
%{_mandir}/man8/gssproxy-mech.8*
|
%{_mandir}/man8/gssproxy-mech.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 12 2024 yixiangzhike <yixiangzhike007@163.com> - 0.9.2-2
|
||||||
|
- backport upstream patch to remove node from the correct list
|
||||||
|
|
||||||
* Fri Dec 22 2023 yixiangzhike <yixiangzhike007@163.com> - 0.9.2-1
|
* Fri Dec 22 2023 yixiangzhike <yixiangzhike007@163.com> - 0.9.2-1
|
||||||
- update to 0.9.2
|
- update to 0.9.2
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user