DragonFly commits List (threaded) for 2009-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
DragonFly-2.3.2.298.g9b8235 master sys/kern vfs_subr.c sys/vfs/devfs devfs_core.c devfs_vnops.c
commit 9b8235015ece1ea902691f71bb66952cc76b85a9
Author: Alex Hornung <ahornung@gmail.com>
Date: Wed Aug 5 23:41:54 2009 +0100
DEVFS - Use v_associate_rdev; fix vcount/count_dev
to avoid trouble with both vrevoke() and the drm code which calls
vm_mmap, which in turn expects a vnode as handle, but drm only has
a cdev. If associate_rdev is used, the cdev will have a list of
vnodes currently in use associated with it.
- This fixes a problem with drm which caused a panic when used.
- count_dev, which is used by vcount, now returns the vnodes'
opencount instead of the number of references.
Reported-By: Johannes Hofmann
Summary of changes:
sys/kern/vfs_subr.c | 8 +++++---
sys/vfs/devfs/devfs_core.c | 6 ++++++
sys/vfs/devfs/devfs_vnops.c | 8 +++++---
3 files changed, 16 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9b8235015ece1ea902691f71bb66952cc76b85a9
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]