]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
macos: fix vnode finalization
authorDerrick Brashear <shadow@dementia.org>
Mon, 1 Aug 2011 13:58:27 +0000 (09:58 -0400)
committerDerrick Brashear <shadow@dementia.org>
Mon, 1 Aug 2011 14:47:40 +0000 (07:47 -0700)
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>
src/afs/DARWIN/osi_vnodeops.c

index 5160c8793f1da678c4384c67cf657d525b3dc287..108474bb314d1f81b65e3b9013b20cc0e43f4056 100644 (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 (!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();
 #if 0 /* unsupported */