[libmultipath] disassemble_map to store undiscovered path in pathvec too
authorChristophe Varoqui <root@xa-s05.(none)>
Thu, 17 Nov 2005 09:43:30 +0000 (10:43 +0100)
committerChristophe Varoqui <root@xa-s05.(none)>
Thu, 17 Nov 2005 09:43:30 +0000 (10:43 +0100)
Edward Goggin, EMC

libmultipath/dmparser.c

index 61eee7d..76408bd 100644 (file)
@@ -271,6 +271,9 @@ disassemble_map (vector pathvec, char * params, struct multipath * mpp)
                                        goto out1;
 
                                strncpy(pp->dev_t, word, BLK_DEV_SIZE);
+
+                               if (store_path(pathvec, pp))
+                                       goto out;
                        }
                        FREE(word);