From: Derrick Brashear Date: Sat, 26 Mar 2005 07:10:39 +0000 (+0000) Subject: linux-vnode-macros-20050326 X-Git-Tag: openafs-devel-1_5_0~692 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=c167d56b1afcf5f4dfb0fc50a430504e253a77c1 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. --- diff --git a/src/afs/VNOPS/afs_vnop_lookup.c b/src/afs/VNOPS/afs_vnop_lookup.c index 987940a..229bba4 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;