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

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 13 Jun 2007 13:53:39 -0700 (PDT)

dillon      2007/06/13 13:53:39 PDT

DragonFly src repository

  Modified files:
    sys/bus/cam/scsi     scsi_da.c 
  Log:
  dev_dopen() can be called multiple times with only one dev_dclose() when
  D_TRACKCLOSE is not specified.  Make sure multiple opens only reference
  the CAM peripheral once and complain if dev_dclose() is called more then
  once.
  
  This also prevents bugs in higher layers from propogating to lower ones.
  
  Revision  Changes    Path
  1.37      +15 -5     src/sys/bus/cam/scsi/scsi_da.c


http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_da.c.diff?r1=1.36&r2=1.37&f=u



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