]> git.michaelhowe.org Git - packages/o/openafs.git/commit
LINUX: eliminate unused variable warning
authorMark Vitale <mvitale@sinenomine.net>
Sat, 7 Jan 2017 11:22:47 +0000 (06:22 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Tue, 25 Apr 2017 11:50:01 +0000 (07:50 -0400)
commite64639b851e18a29003fd7d656673d00b2d90193
treeb13b991d96279bbd764eaa63b08dd1ff256ad846
parent5757a0dc3debb6b1d7e47faee18373a2866e4b03
LINUX: eliminate unused variable warning

Commit c3bbf0b4444db88192eea4580ac9e9ca3de0d286 added routine
osi_TryEvictDentries and included new logic for D_INVALIDATE_IS_VOID.
Unfortunately, this new code path no longer uses dentry; it also should
have been made conditional at that time.

Wrap the declaration of dentry in #ifndef D_INVALIDATE_IS_VOID to
eliminate the unused variable warning.

Reviewed-on: https://gerrit.openafs.org/12505
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit 19599b5ef5f7dff2741e13974692fe4a84721b59)

Change-Id: Ic15df733fcbccfaf9870ecd335bb2d549ab0d43d
Reviewed-on: https://gerrit.openafs.org/12513
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/afs/LINUX/osi_vcache.c