Home
last modified time | relevance | path

Searched hist:"9 b823501" (Results 1 – 3 of 3) sorted by relevance

/dragonfly/sys/vfs/devfs/
H A Ddevfs_core.c9b823501 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 Ddevfs_vnops.c9b823501 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 Dvfs_subr.c9b823501 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