projects
/
platform
/
upstream
/
multipath-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b413c9d
)
[libmultipath] Add "^dcssblk[0-9]*" to default blacklist.
author
Stefan Bader
<Stefan.Bader@de.ibm.com>
Tue, 24 Jul 2007 17:59:22 +0000
(19:59 +0200)
committer
Christophe 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
patch
|
blob
|
history
diff --git
a/libmultipath/blacklist.c
b/libmultipath/blacklist.c
index
82a6a58
..
488b58a
100644
(file)
--- a/
libmultipath/blacklist.c
+++ b/
libmultipath/blacklist.c
@@
-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))