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

git: devfs - Let devfs assume degenerate knotes when a device goes away


From: Samuel Greear <sjg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 10 Sep 2010 20:31:00 -0700 (PDT)

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



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