git: devfs - Fix a few issues

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Mar 17 11:25:45 PDT 2018


commit 1bef7707524ce5755a66555932471ef19a6dfa0d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Mar 17 11:23:39 2018 -0700

    devfs - Fix a few issues
    
    * Report when an attempt is made to add a device node under a
      non-directory device node.
    
    * devfs_freep() no longer asserts if the node is not linked.
      It's ok for the node to not be linked.  It still asserts on
      double calls to devfs_freep().
    
    * Clean up nlinks during normal removals of nodes.
    
    * Also iterate and remove orphan nodes on unmount.
    
    * Misc syntax cleanups.

Summary of changes:
 sys/vfs/devfs/devfs_core.c | 100 +++++++++++++++++++++++++++++++--------------
 1 file changed, 69 insertions(+), 31 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1bef7707524ce5755a66555932471ef19a6dfa0d


-- 
DragonFly BSD source repository



More information about the Commits mailing list