[libmultipath] Add "^dcssblk[0-9]*" to default blacklist.
authorStefan Bader <Stefan.Bader@de.ibm.com>
Tue, 24 Jul 2007 17:59:22 +0000 (19:59 +0200)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Tue, 24 Jul 2007 17:59:22 +0000 (19:59 +0200)
Added some System z specific device nodes, which would otherwise cause
problems, to default blacklist.

libmultipath/blacklist.c

index 82a6a58..488b58a 100644 (file)
@@ -121,6 +121,12 @@ setup_default_blist (struct config * conf)
        if (store_ble(conf->blist_devnode, str, ORIGIN_DEFAULT))
                return 1;
 
+       str = STRDUP("^dcssblk[0-9]*");
+       if (!str)
+               return 1;
+       if (store_ble(conf->blist_devnode, str, ORIGIN_DEFAULT))
+               return 1;
+
        vector_foreach_slot (conf->hwtable, hwe, i) {
                if (hwe->bl_product) {
                        if (alloc_ble_device(conf->blist_device))