git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1156923
)
linux-vnode-macros-20050326
author
Derrick Brashear
<shadow@dementia.org>
Sat, 26 Mar 2005 07:10:39 +0000 (07:10 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Sat, 26 Mar 2005 07:10:39 +0000 (07:10 +0000)
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.
src/afs/VNOPS/afs_vnop_lookup.c
patch
|
blob
|
history
diff --git
a/src/afs/VNOPS/afs_vnop_lookup.c
b/src/afs/VNOPS/afs_vnop_lookup.c
index
987940a
..
229bba4
100644
(file)
--- 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;