[multipath] fix maj:min scope definition to a non-existant dev_t
authorroot <root@xa-s05.(none)>
Tue, 27 Sep 2005 22:29:26 +0000 (00:29 +0200)
committerroot <root@xa-s05.(none)>
Tue, 27 Sep 2005 22:29:26 +0000 (00:29 +0200)
commit2ca0a4ff9766e457c9a1e54a218273ec659914af
tree615372f0a5295dc2e0900c38035726b0183ea7b9
parente766d6dfdc577679bebd6f8131eac60ea08cf76f
[multipath] fix maj:min scope definition to a non-existant dev_t

We didn't check the return value of dev_t to devname translator,
which caused the tentative discovery of a random device,
which stalled for 5sec before concluding it can't be scanned.

This bug hit bad with partitions for example.
multipath/main.c