macos: fix vnode finalization

erroneously pushed a bad version of this. fix it now.

Change-Id: Ic5db50473a97bd7ffb3ba34ac052da2ae8f2875b
Reviewed-on: http://gerrit.openafs.org/5124
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Derrick Brashear 2011-08-01 09:58:27 -04:00
parent b621a29860
commit 5ebef72c02

View File

@ -2165,7 +2165,7 @@ afs_darwin_finalizevnode(struct vcache *avc, struct vnode *dvp,
/* if the type changed, we still need to do a fixup, for bulkstat */ /* if the type changed, we still need to do a fixup, for bulkstat */
if (!isroot && (vnode_vtype(ovp) == avc->f.m.Type && if (!isroot && (vnode_vtype(ovp) == avc->f.m.Type &&
!(avc->f.states & CDeadVnode) && vnode_vtype(ovp) != VNON) !(avc->f.states & CDeadVnode) && vnode_vtype(ovp) != VNON))
{ {
AFS_GUNLOCK(); AFS_GUNLOCK();
#if 0 /* unsupported */ #if 0 /* unsupported */