[multipath] fix early exit for blacklisted scope-limiting-device
authorChristophe Varoqui <root@xa-s05.(none)>
Fri, 28 Oct 2005 13:48:57 +0000 (15:48 +0200)
committerChristophe Varoqui <root@xa-s05.(none)>
Fri, 28 Oct 2005 13:48:57 +0000 (15:48 +0200)
commit9d00e549a3c85d8f530a8529e258e03dbe00f968
treebf6306793ddf512d1f83eb37a428b6378ae28673
parent7b13f8c6430b3a17818b7ea00041a551d2948342
[multipath] fix early exit for blacklisted scope-limiting-device

we tried to compare conf->dev to the blacklist entries, but entries are
usually of the {sda,sdb,...} form and conf->dev of the /dev/sda form.
No chance of succes !

This was noticed following a related behaviour reported by Maxim Kozover

xa-s05:~/scm/multipath-tools-0.4.6# multipath/multipath /dev/ram0 -v3
ram0 blacklisted

... now that early enough.
multipath/main.c