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/kern subr_disk.c subr_diskslice.c src/sys/sys disklabel.h diskslice.h

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

dillon      2007/06/13 13:58:38 PDT

DragonFly src repository

  Modified files:
    sys/kern             subr_disk.c subr_diskslice.c 
    sys/sys              disklabel.h diskslice.h 
  Expand the diskslice->ds_openmask from 8 bits to 256 bits to cover all
  possible partitions.  Partitions from 'i' on, and the whole-disk partition,
  were not being properly tracked, resulting in multiple device opens and
  device closes to the underlying device.
  In particular, this caused USB memory sticks to connect to the CAM driver
  with ever-increasing DA#n unit numbers because CAMs reference counting got
  seriously corrupted.
  Reported-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
  Revision  Changes    Path
  1.35      +16 -9     src/sys/kern/subr_disk.c
  1.42      +28 -23    src/sys/kern/subr_diskslice.c
  1.25      +1 -1      src/sys/sys/disklabel.h
  1.18      +67 -5     src/sys/sys/diskslice.h


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