DragonFly-2.3.2.312.gfa7e6 master sys/vfs/devfs devfs.h devfs_co

看板DFBSD_commit作者時間16年前 (2009/08/07 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit fa7e6f37f8dfe18303d3d7be2f1242cd19146e7a Author: Alex Hornung <ahornung@gmail.com> Date: Thu Aug 6 13:34:45 2009 +0100 DEVFS - add vfs ops fhtovp, vptofh and vget * Add fhtovp and vptofh vfs ops in devfs_vfsops.c, which also fix an issue with coredumps. The issue was that, whenever a core dump should be generated of an image with a /dev/* node open, vptofh would return EOPNOTSUPP and hence the generated core would be 0 bytes. * Add helper function for fhtovp, devfs_inode_to_vnode and family to devfs_core.c * Also add vget vfs op, using the same mechanism as fhtovp. Reported-By: Hasso Tepper Summary of changes: sys/vfs/devfs/devfs.h | 16 ++++++++ sys/vfs/devfs/devfs_core.c | 59 +++++++++++++++++++++++++++++- sys/vfs/devfs/devfs_vfsops.c | 82 +++++++++++++++++++++++++++++++++++++++--- 3 files changed, 151 insertions(+), 6 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fa7e6f37f8dfe18303d3d7be2f1242cd19146e7a -- DragonFly BSD source repository
文章代碼(AID): #1AUnfiOo (DFBSD_commit)