summaryrefslogtreecommitdiffstats
path: root/0094-RHBZ-707560-check-return-value.patch
diff options
context:
space:
mode:
Diffstat (limited to '0094-RHBZ-707560-check-return-value.patch')
-rw-r--r--0094-RHBZ-707560-check-return-value.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/0094-RHBZ-707560-check-return-value.patch b/0094-RHBZ-707560-check-return-value.patch
new file mode 100644
index 0000000..4b6becf
--- /dev/null
+++ b/0094-RHBZ-707560-check-return-value.patch
@@ -0,0 +1,18 @@
+---
+ multipathd/main.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+Index: multipath-tools/multipathd/main.c
+===================================================================
+--- multipath-tools.orig/multipathd/main.c
++++ multipath-tools/multipathd/main.c
+@@ -999,7 +999,8 @@ int update_path_groups(struct multipath
+ return 1;
+ }
+ dm_lib_release();
+- setup_multipath(vecs, mpp);
++ if (setup_multipath(vecs, mpp) != 0)
++ return 1;
+ sync_map_state(mpp);
+
+ return 0;