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-2.3.2.306.g5298e7 master sys/vfs/devfs devfs.h devfs_core.c


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 6 Aug 2009 00:22:29 -0700 (PDT)

commit 5298e788f4d1604b0b1d62d8fdc2b81f489154e7
Author: Alex Hornung <ahornung@gmail.com>
Date:   Thu Aug 6 08:46:47 2009 +0100

    DEVFS - Use dyn. memory for alias and clone handler
    
    Change the ->name element for both alias and clone handler structs
    to use dynamic memory, allocated just after allocation of the
    structs.
    Also fix a problem in devfs_make_alias_worker() which would have
    caused a warning and non-creation of alias in case one requested
    creation of da0 after da0s1a because of a missing length check.
    
    Reported-By: Matthew Dillon

Summary of changes:
 sys/vfs/devfs/devfs.h      |    5 +++--
 sys/vfs/devfs/devfs_core.c |   21 ++++++++++++++++-----
 2 files changed, 19 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5298e788f4d1604b0b1d62d8fdc2b81f489154e7


-- 
DragonFly BSD source repository



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