DragonFly-2.3.2.306.g5298e7 master sys/vfs/devfs devfs.h devfs_c

看板DFBSD_commit作者時間16年前 (2009/08/06 15:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1AUeRtHS (DFBSD_commit)