diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index a9394ee376..d8dfd93e9a 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -917,17 +917,10 @@ canonical_dentry(struct inode *ip) vcp->target_link = ret; -# ifdef HAVE_DCACHE_LOCK if (ret) { afs_linux_dget(ret); } afs_d_alias_unlock(ip); -# else - if (ret) { - afs_linux_dget(ret); - } - afs_d_alias_unlock(ip); -# endif return ret; }