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

cvs commit: src/sys/kern kern_conf.c kern_device.c

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 22 Mar 2005 18:50:53 -0800 (PST)

dillon      2005/03/22 18:50:53 PST

DragonFly src repository

  Modified files:
    sys/kern             kern_conf.c kern_device.c 
  Because destroy_all_dev() checks the mask/match against the device's si_udev,
  which is a field combining both major and minor numbers, we must mask off the
  major bits (to retain only the minor bits) from the 'mask' variable in order
  to allow a generic -1 to be passed as the mask.  Otherwise we will not match
  Revamp a good chunk of the documentation to try to make the major/minor
  number masking issues clear.
  Bug-found-by: Chuck Tuffli <chuck_tuffli@xxxxxxxxxxx>
  Revision  Changes    Path
  1.11      +11 -1     src/sys/kern/kern_conf.c
  1.15      +18 -3     src/sys/kern/kern_device.c


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