From: Chaskiel M Grundman Date: Tue, 2 Aug 2005 20:00:58 +0000 (+0000) Subject: STABLE14-linux-vnode-aliases-20050802 X-Git-Tag: openafs-devel-1_3_87~12 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=aad13a5d1a1bd93acbf87e9847b026f5786edbfe;p=packages%2Fo%2Fopenafs.git STABLE14-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 (cherry picked from commit f6ff3f769a8e84e9148c3c47c9e82d1bcb7d6f6a) --- 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);