DragonFly commits List (threaded) for 2008-05
cvs commit: src/sys/bus/cam/scsi scsi_cd.c
dillon 2008/05/23 12:46:38 PDT
DragonFly src repository
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 <firstname.lastname@example.org>,
Michael Neumann <email@example.com>
Revision Changes Path
1.43 +1 -59 src/sys/bus/cam/scsi/scsi_cd.c