From: Andrew Deason Date: Thu, 9 Jun 2011 04:06:58 +0000 (-0500) Subject: volinfo: PrintFileNames is namei-only X-Git-Tag: upstream/1.8.0_pre1^2~3640 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=fc087f187759398a2646480eca25c1195ed23d22;p=packages%2Fo%2Fopenafs.git volinfo: PrintFileNames is namei-only 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 Reviewed-by: Michael Meffie Reviewed-by: Derrick Brashear --- diff --git a/src/vol/vol-info.c b/src/vol/vol-info.c index d9865bcb3..f0f3124b4 100644 --- a/src/vol/vol-info.c +++ b/src/vol/vol-info.c @@ -483,8 +483,12 @@ handleit(struct cmd_syndesc *as, void *arock) 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. */