DragonFly commits List (threaded) for 2009-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
DEVFS - Add required vget when disassociating a vnode from a node.
commit e23485a5fa4ee8679a681c1dead71f925f14965f
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Fri Aug 7 17:35:36 2009 -0700
DEVFS - Add required vget when disassociating a vnode from a node.
* We have to protect the vnode when disconnecting the rdev and
disassociating it from the devfs_node.
* This also has the side effect of properly cycling the vnode refs
so the namecache gets cleaned up when a node is removed. Otherwise
the namecache entry will be left intact, resolved to the now dead
vnode.
Summary of changes:
sys/vfs/devfs/devfs_core.c | 9 ++++++++-
sys/vfs/devfs/devfs_vnops.c | 1 +
2 files changed, 9 insertions(+), 1 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e23485a5fa4ee8679a681c1dead71f925f14965f
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]