summaryrefslogtreecommitdiff
path: root/distrib/sgi/ramdisk
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2011-04-17 23:18:02 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2011-04-17 23:18:02 +0000
commit65ebf3603c93ab7e8fd20f39d31e4d48c1cd584b (patch)
tree67f6fcb3cf9e7628cd84d756f13026f6ccbc9418 /distrib/sgi/ramdisk
parentcae4ba1304b94cdf4ac037ea2afe02947c1a7cee (diff)
if mpath is disabled in config or ukc, then prevent path drivers from
attaching since theyre useless without mpath. the path drivers ask mpath if its ok to use the device before doing their own matches (this is so mpath can prevent paths attaching to itself), so im just adding this check there. this uses code from miod to walk cfdata for the mpath entry and then checks its state. this is ok because mpath is only attached in one place, so there arent multiple cfdata entries for it. ok krw@ deraadt@ miod@ matthew@
Diffstat (limited to 'distrib/sgi/ramdisk')
0 files changed, 0 insertions, 0 deletions