darwin port was unhappy because of this
authorChaskiel M Grundman <cg2v@andrew.cmu.edu>
Tue, 27 Mar 2001 23:18:09 +0000 (23:18 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 27 Mar 2001 23:18:09 +0000 (23:18 +0000)
src/afs/afs_init.c

index 7496861..00f38a5 100644 (file)
@@ -452,11 +452,11 @@ afs_InitCacheInfo(afile)
     cacheInode = filevp->i_ino;
     afs_cacheSBp = filevp->i_sb;
 #else
-    cacheInode = afs_vnodeToInumber(filevp);
-    cacheDev.dev = afs_vnodeToDev(filevp);
 #if defined(AFS_SGI62_ENV) || defined(AFS_HAVE_VXFS) || defined(AFS_DARWIN_ENV)
     afs_InitDualFSCacheOps(filevp);
 #endif
+    cacheInode = afs_vnodeToInumber(filevp);
+    cacheDev.dev = afs_vnodeToDev(filevp);
     afs_cacheVfsp = filevp->v_vfsp;
 #endif /* AFS_LINUX20_ENV */
     AFS_RELE((struct vnode *)filevp);