From: Chaskiel M Grundman Date: Tue, 2 Aug 2005 19:59:46 +0000 (+0000) Subject: linux-vnode-aliases-20050802 X-Git-Tag: openafs-devel-1_5_0~407 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f6ff3f769a8e84e9148c3c47c9e82d1bcb7d6f6a;p=packages%2Fo%2Fopenafs.git linux-vnode-aliases-20050802 FIXES 18613 you can end up hanging when you end up with multiple aliases for a single direct ory (dentry) as a result of @sys or multiple mountpoints. don't end up with multiple aliases, and avoid the situation --- diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 9187614cf..67e2621a2 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -913,6 +913,7 @@ afs_linux_lookup(struct inode *dip, struct dentry *dp) if (res) { if (d_unhashed(res)) d_rehash(res); + iput(ip); } else #endif d_add(dp, ip);