看板 DFBSD_commit 關於我們 聯絡資訊
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