看板 DFBSD_commit 關於我們 聯絡資訊
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