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

DragonFly- master sys/vfs/devfs devfs.h devfs_core.c devfs_rules.c devfs_rules.h devfs_vnops.c

From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 5 Aug 2009 05:37:00 -0700 (PDT)

commit 894bbb25883efdeb23085f7441fb1d2a4dd6a827
Author: Alex Hornung <ahornung@gmail.com>
Date:   Wed Aug 5 02:10:20 2009 +0100

    DEVFS - Cleanup of dead functions/comments; various fixes
    Cleanup of dead functions and structures and cleanup of C++-style
    Fixes include:
    - function devfs_node_is_accessible, which checks if the node is valid
    and if it isn't a hidden node.
    - calls to devfs_node_is_accessible from most vnops to ensure validity
    of the devfs_node they operate on.
    - Change of devfs_rule struct to use dynamically allocated memory
    instead of using pre-sized buffers. This way we avoid wasting a lot
    of memory for each devfs_rule.

Summary of changes:
 sys/vfs/devfs/devfs.h       |   18 +-----------
 sys/vfs/devfs/devfs_core.c  |   35 +++++++++++++---------
 sys/vfs/devfs/devfs_rules.c |   61 ++++++++++++++++++++++++++++++++------
 sys/vfs/devfs/devfs_rules.h |   13 ++++++--
 sys/vfs/devfs/devfs_vnops.c |   67 ++++++++++++++-----------------------------
 5 files changed, 104 insertions(+), 90 deletions(-)


DragonFly BSD source repository

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