LINUX: consolidate duplicate code in canonical_dentry
commit16c0dbd7961fb599ed9f29d700d1a713902bd96d
authorMark Vitale <mvitale@sinenomine.net>
Thu, 30 Nov 2017 21:51:32 +0000 (30 16:51 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Wed, 3 Jan 2018 05:44:10 +0000 (3 00:44 -0500)
tree1e949bb2f81545dd4fa4b6ff298553a75edc2d1d
parentc42dea8e0293016ec30fa703956c8bbc5d5cb76d
LINUX: consolidate duplicate code in canonical_dentry

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.

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>
(cherry picked from commit 0678ad26b6069040a6ea86866fb59ef5968ea343)

Change-Id: If0f9516201cea747a753db04ba2d0e2cac69971b
Reviewed-on: https://gerrit.openafs.org/12849
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/afs/LINUX/osi_vnodeops.c