From eaf1c8372a0f33bae0570143c9a970dbafdc3537 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Sat, 26 Mar 2005 07:11:37 +0000 Subject: [PATCH] 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) --- src/afs/VNOPS/afs_vnop_lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5