From: Derrick Brashear Date: Sat, 21 Apr 2001 19:38:39 +0000 (+0000) Subject: cleanup-from-readdir-type-hint-guessing-20010420 X-Git-Tag: openafs-stable-1_1_0~188 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=eda1b2dc39c2cafc9d9f3ae8555eb794cbfd50fb;p=packages%2Fo%2Fopenafs.git cleanup-from-readdir-type-hint-guessing-20010420 Based on report by Chas Williams; FindVCache get getting a ref which we need to release --- 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); }