DEVFS - Add required vget when disassociating a vnode from a nod

看板DFBSD_commit作者時間16年前 (2009/08/08 09:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1AVCvJ7_ (DFBSD_commit)