From 7b64d0d2f9e1a0f4074159ed663683517b3a9235 Mon Sep 17 00:00:00 2001 From: Chaskiel M Grundman Date: Tue, 27 Mar 2001 23:18:09 +0000 Subject: [PATCH] darwin port was unhappy because of this --- src/afs/afs_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/afs/afs_init.c b/src/afs/afs_init.c index 74968610a6..00f38a5c8b 100644 --- a/src/afs/afs_init.c +++ b/src/afs/afs_init.c @@ -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);