DragonFly commits List (threaded) for 2009-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
DragonFly-2.3.2.312.gfa7e6 master sys/vfs/devfs devfs.h devfs_core.c devfs_vfsops.c
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]