eaac563644
Modify 0020-RHBZ-907360-static-pthread-init.patch * Don't initialize uevent list twice Add 0029-RH-no-prio-put-msg.patch Add 0030-RHBZ-916528-override-queue-no-daemon.patch * Default to "queue_without_daemon no" * Add "forcequeueing daemon" and "restorequeueing daemon" cli commands Modify spec file to force queue_without_daemon when restarting multipathd on upgrades.
21 lines
559 B
Diff
21 lines
559 B
Diff
---
|
|
libmultipath/prio.c | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
Index: multipath-tools-130222/libmultipath/prio.c
|
|
===================================================================
|
|
--- multipath-tools-130222.orig/libmultipath/prio.c
|
|
+++ multipath-tools-130222/libmultipath/prio.c
|
|
@@ -162,7 +162,10 @@ void prio_put (struct prio * dst)
|
|
if (!dst)
|
|
return;
|
|
|
|
- src = prio_lookup(dst->name);
|
|
+ if (!strlen(dst->name))
|
|
+ src = NULL;
|
|
+ else
|
|
+ src = prio_lookup(dst->name);
|
|
memset(dst, 0x0, sizeof(struct prio));
|
|
free_prio(src);
|
|
}
|