PrintFileNames only exists on namei, so make sure it's inside a namei
ifdef.
Change-Id: I65867b54e3747b6f3a26cdfd70ab84ed7fe4e44d
Reviewed-on: http://gerrit.openafs.org/4830
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
DumpVnodes = 0;
InodeTimes = 0;
ShowOrphaned = 0;
- } else if (ShowOrphaned || PrintFileNames) {
+ } else if (ShowOrphaned) {
DumpVnodes = 1; /* implied */
+#ifdef AFS_NAMEI_ENV
+ } else if (PrintFileNames) {
+ DumpVnodes = 1; /* implied */
+#endif
}
/* Allow user to specify partition by name or id. */