The two stanzas for HAVE_DCACHE_LOCK are now identical;
remove the preprocessor conditionals and duplicate code.
No functional change should be incurred by this commit.
Change-Id: I15cd4631d1932dcfb920313acb82fcbe570087e8
Reviewed-on: https://gerrit.openafs.org/12791
Reviewed-by: Andrew Deason <adeason@dson.org>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
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;
}