ofpath: Handle disk devices with no sd node
authorBrian King <brking@linux.vnet.ibm.com>
Tue, 23 Aug 2011 04:45:30 +0000 (04:45 +0000)
committerTony Breeds <tony@bakeyournoodle.com>
Tue, 18 Oct 2011 04:38:10 +0000 (15:38 +1100)
commit90288ad550b6494203ae58c8f64e6fae010fe62e
treec6e21851e1ac266e57be95e5ffb7fa09bcd8db4a
parent32b8ef2cc825d09ac26bb5c7aa4d31ab53df8dc3
ofpath: Handle disk devices with no sd node

Some storage boxes report a direct access device at LUN 31
which does not actually result in an sd device being attached.
Skip over these devices when parsing /proc/scsi/scsi.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
ybin/ofpath