DragonFly-2.3.2.306.g5298e7 master sys/vfs/devfs devfs.h devfs_core.c
Alex Hornung
alexh at crater.dragonflybsd.org
Thu Aug 6 00:24:15 PDT 2009
commit 5298e788f4d1604b0b1d62d8fdc2b81f489154e7
Author: Alex Hornung <ahornung at 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
More information about the Commits
mailing list