From: Derrick Brashear Date: Sat, 26 Mar 2005 07:11:37 +0000 (+0000) Subject: STABLE14-linux-vnode-macros-20050326 X-Git-Tag: openafs-devel-1_3_81~32 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=eaf1c8372a0f33bae0570143c9a970dbafdc3537;p=packages%2Fo%2Fopenafs.git STABLE14-linux-vnode-macros-20050326 here's a place where we passed a vcache instead of a vnode for linux. doesn't matter today, might as well fix it now. (cherry picked from commit c167d56b1afcf5f4dfb0fc50a430504e253a77c1) --- diff --git a/src/afs/VNOPS/afs_vnop_lookup.c b/src/afs/VNOPS/afs_vnop_lookup.c index 987940a29..229bba463 100644 --- a/src/afs/VNOPS/afs_vnop_lookup.c +++ b/src/afs/VNOPS/afs_vnop_lookup.c @@ -1241,7 +1241,7 @@ afs_lookup(OSI_VC_DECL(adp), char *aname, struct vcache **avcp, struct AFS_UCRED } #ifdef AFS_LINUX22_ENV if (tvc->mvstat == 2) { /* we don't trust the dnlc for root vcaches */ - AFS_RELE(tvc); + AFS_RELE(AFSTOV(tvc)); *avcp = 0; } else { code = 0;