cvs commit: src/sys/bus/cam/scsi scsi_cd.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri May 23 12:48:23 PDT 2008
dillon 2008/05/23 12:46:38 PDT
DragonFly src repository
Modified files:
sys/bus/cam/scsi scsi_cd.c
Log:
Calls to DIOCSYNCSLICEINFO were being made with the assumption that
CD_FLAG_OPEN indicated an already-open device. With recent changes this
flag is set prior to the check and the calls were being made without
any slice information, causing a panic. For now follow what FreeBSD did
and just remove the calls.
Remove redundant setting of CD_FLAG_OPEN.
Reported-by: VOROSKOI Andras <sinknull at crater.dragonflybsd.org>,
Michael Neumann <mneumann at ntecs.de>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1016>
Revision Changes Path
1.43 +1 -59 src/sys/bus/cam/scsi/scsi_cd.c
http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_cd.c.diff?r1=1.42&r2=1.43&f=u
More information about the Commits
mailing list