26 lines
904 B
Diff
26 lines
904 B
Diff
From ea1c7363b88d804e41a7ba0844a0e558f521eb03 Mon Sep 17 00:00:00 2001
|
|
From: Vojtech Trefny <vtrefny@redhat.com>
|
|
Date: Mon, 19 Jun 2023 11:09:10 +0200
|
|
Subject: [PATCH] s390: Do not try to close an unopened stream
|
|
|
|
Our Fedora builds are failing on this on s390x.
|
|
---
|
|
src/plugins/s390.c | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/src/plugins/s390.c b/src/plugins/s390.c
|
|
index fb0dc982..705a9ae7 100644
|
|
--- a/src/plugins/s390.c
|
|
+++ b/src/plugins/s390.c
|
|
@@ -601,7 +601,6 @@ gboolean bd_s390_zfcp_online (const gchar *devno, const gchar *wwpn, const gchar
|
|
boolrc = bd_utils_exec_and_report_error_no_progress (zfcp_cio_free, NULL, error);
|
|
|
|
if (!boolrc) {
|
|
- fclose (fd);
|
|
g_free (online);
|
|
g_set_error (error, BD_S390_ERROR, BD_S390_ERROR_DEVICE,
|
|
"Could not remove device %s from device ignore list.", devno);
|
|
--
|
|
2.40.1
|
|
|