DragonFly- master sys/vfs/devfs devfs.h devfs_core.c devfs_vfsops.c

Alex Hornung alexh at crater.dragonflybsd.org
Thu Aug 6 09:04:51 PDT 2009

commit fa7e6f37f8dfe18303d3d7be2f1242cd19146e7a
Author: Alex Hornung <ahornung at 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(-)


DragonFly BSD source repository

More information about the Commits mailing list