From: Derrick Brashear Date: Mon, 23 Apr 2001 08:54:55 +0000 (+0000) Subject: STABLE10-cleanup-from-readdir-type-hint-guessing-20010423 X-Git-Tag: openafs-stable-1_0_4~6 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c3130860cc7aa08235f219375d605670a7955c05;p=packages%2Fo%2Fopenafs.git STABLE10-cleanup-from-readdir-type-hint-guessing-20010423 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); }