From: Joe Buehler Date: Thu, 1 Jun 2006 16:59:56 +0000 (+0000) Subject: STABLE14-linux-vfsops-remove-redundant-code-20060601 X-Git-Tag: openafs-stable-1_4_1d~3 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f0b510bb6f61ea7cac35cfa512b536d7b6a749bc;p=packages%2Fo%2Fopenafs.git STABLE14-linux-vfsops-remove-redundant-code-20060601 FIXES 32783 remove redundancy (cherry picked from commit 3fdb1902c04153e3522e36c091b073dc7419ac65) --- diff --git a/src/afs/LINUX/osi_vfsops.c b/src/afs/LINUX/osi_vfsops.c index 63d14577b..e79f2dda8 100644 --- a/src/afs/LINUX/osi_vfsops.c +++ b/src/afs/LINUX/osi_vfsops.c @@ -344,10 +344,8 @@ afs_put_inode(struct inode *ip) struct vcache *vcp = VTOAFS(ip); AFS_GLOCK(); - if (VREFCOUNT(vcp) == 2) { - if (VREFCOUNT(vcp) == 2) - afs_InactiveVCache(vcp, NULL); - } + if (VREFCOUNT(vcp) == 2) + afs_InactiveVCache(vcp, NULL); AFS_GUNLOCK(); }