DragonFly commits List (threaded) for 2008-05
DragonFly BSD
DragonFly commits List (threaded) for 2008-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/bus/cam/scsi scsi_cd.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 May 2008 12:46:38 -0700 (PDT)

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@crater.dragonflybsd.org>,
  	     Michael Neumann <mneumann@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]