device-mapper-multipath/0025-RHBZ-822714-update-nodes.patch
Benjamin Marzinski 39719978b9 device-mapper-multipath-0.4.9-26
Add 0025-RHBZ-822714-update-nodes.patch
Resolves: bz #822714
2012-05-17 19:03:35 -05:00

18 lines
478 B
Diff

---
libmultipath/devmapper.c | 2 ++
1 file changed, 2 insertions(+)
Index: multipath-tools-120123/libmultipath/devmapper.c
===================================================================
--- multipath-tools-120123.orig/libmultipath/devmapper.c
+++ multipath-tools-120123/libmultipath/devmapper.c
@@ -1272,6 +1272,8 @@ dm_rename (char * old, char * new)
goto out;
if (!dm_task_run(dmt))
goto out;
+ if (conf->daemon)
+ dm_task_update_nodes();
r = 1;
out: