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

DragonFly-2.3.1.291.g493f1 master sys/kern kern_conf.c kern_device.c subr_disk.c sys/sys device.h


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 17 Jun 2009 12:32:54 -0700 (PDT)

commit 493f17de55ca490230847f36c3a574ae70ecb8ab
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Jun 17 12:29:13 2009 -0700

    DEVS - Clean up some reference counting issues
    
    * Add dev_ops_remove_override() as the counterpart to dev_ops_add_override().
    
    * Do not complain if ops->head.refs is non-zero when deleting ops,
      as the ops structure might be used with other unit numbers.
    
    * Fix a bad assertion that was leading to incorrect panics when selectively
      removing dev_ops.

Summary of changes:
 sys/kern/kern_conf.c   |    2 +-
 sys/kern/kern_device.c |   19 +++++++++++++++++++
 sys/kern/subr_disk.c   |   10 ++++++----
 sys/sys/device.h       |    1 +
 4 files changed, 27 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/493f17de55ca490230847f36c3a574ae70ecb8ab


-- 
DragonFly BSD source repository



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