OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Kenneth R Westerback (krwcvs.openbsd.org)
Date: Mon May 02 2005 - 19:29:17 CDT


CVSROOT: /cvs
Module name: src
Changes by: krwcvs.openbsd.org 2005/05/02 18:29:16

Modified files:
        sys/scsi : sd.c

Log message:
sdstrategy() shouldn't use values in disklabel until SDEV_MEDIA_LOADED
is checked. Fixes crash during boot when a device has no media
loaded. e.g. a usb card reader with empty slots. From NetBSD. Problem
was introduced by last commit to allow RAW_PART+S_IFCHAR opens to
always succeed.

ok millert marco