convert-vcache-casts-to-macros-20020325
[openafs.git] / src / afs / HPUX / osi_vm.c
index 89b50d1..54d89da 100644 (file)
@@ -68,7 +68,7 @@ osi_VM_TryToSmush(avc, acred, sync)
     struct AFS_UCRED *acred;
     int sync;
 {
-    struct vnode *vp = (struct vnode *)avc;
+    struct vnode *vp = AFSTOV(avc);
 
     /* Flush the delayed write blocks associated with this vnode
      * from the buffer cache