git: devfs - Let devfs assume degenerate knotes when a device go

看板DFBSD_commit作者時間15年前 (2010/09/11 12:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 3bd9e88a039ac05fac0e0c8c720362d970ba0e67 Author: Samuel J. Greear <sjg@thesjg.com> Date: Sat Aug 14 14:41:35 2010 +0000 devfs - Let devfs assume degenerate knotes when a device goes away * Some devices can disappear while knotes are still active on the klist embedded in the devices softc or etc., create a mechanism to allow devfs to assume these degenerate knotes. * Convert ums to this new way of things * This does not actually fix the reported panic (where X is holding a mouse open across detach), panic is moved into the new devfs handler. * Other devices which could be detached and support the kq interface need to use this interface as well (umass, ...) Reported-by: Rumko Summary of changes: sys/dev/usbmisc/ums/ums.c | 13 +++++++--- sys/sys/conf.h | 4 +++ sys/sys/devfs.h | 1 + sys/vfs/devfs/devfs_core.c | 51 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 65 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3bd9e88a039ac05fac0e0c8c720362d970ba0e67 -- DragonFly BSD source repository
文章代碼(AID): #1CYly2qo (DFBSD_commit)