HPUX: correct PostPopulateVCache vfsp set
authorAndrew Deason <adeason@sinenomine.net>
Wed, 7 Jul 2010 15:23:27 +0000 (10:23 -0500)
committerDerrick Brashear <shadow@dementia.org>
Wed, 7 Jul 2010 19:13:15 +0000 (12:13 -0700)
Setting AFSTOV(avc)->v_mount is the linux/BSD way. avc->v.v_vfsp is
the HP-UX (et al) way.

Change-Id: If2cd1c1e74fcd0ca5ad981497abe7968d97cf0ed
Reviewed-on: http://gerrit.openafs.org/2351
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>

src/afs/HPUX/osi_vcache.c

index 814aa90..e08afda 100644 (file)
@@ -45,7 +45,7 @@ osi_AttachVnode(struct vcache *avc, int seq) {
 void
 osi_PostPopulateVCache(struct vcache *avc) {
     AFSTOV(avc)->v_op = afs_ops;
-    AFSTOV(avc)->v_mount = afs_globalVFS;
+    avc->v.v_vfsp = afs_globalVFS;
     vSetType(avc, VREG);
 }