Searched hist:"9 b823501" (Results 1 – 3 of 3) sorted by relevance
/dragonfly/sys/vfs/devfs/ |
H A D | devfs_core.c | 9b823501 Wed Aug 05 22:41:54 GMT 2009 Alex Hornung <ahornung@gmail.com> 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
|
H A D | devfs_vnops.c | 9b823501 Wed Aug 05 22:41:54 GMT 2009 Alex Hornung <ahornung@gmail.com> 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
|
/dragonfly/sys/kern/ |
H A D | vfs_subr.c | 9b823501 Wed Aug 05 22:41:54 GMT 2009 Alex Hornung <ahornung@gmail.com> 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
|