From eda1b2dc39c2cafc9d9f3ae8555eb794cbfd50fb Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Sat, 21 Apr 2001 19:38:39 +0000 Subject: [PATCH] cleanup-from-readdir-type-hint-guessing-20010420 Based on report by Chas Williams; FindVCache get getting a ref which we need to release --- src/afs/LINUX/osi_vnodeops.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 5958e659f..8223ea992 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -259,6 +259,8 @@ tagain: type=DT_LNK; */ /* what other types does AFS support? */ } + /* clean up from afs_FindVCache */ + afs_PutVCache(tvc, WRITE_LOCK); } code = (*filldir)(dirbuf, de->name, len, offset, ino, type); } -- 2.39.5