From 7914d83509959884d95b7a58f42fcaef965de7da Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Wed, 8 Jun 2011 23:06:58 -0500 Subject: [PATCH] volinfo: PrintFileNames is namei-only PrintFileNames only exists on namei, so make sure it's inside a namei ifdef. Reviewed-on: http://gerrit.openafs.org/4830 Tested-by: BuildBot Reviewed-by: Michael Meffie Reviewed-by: Derrick Brashear (cherry picked from commit fc087f187759398a2646480eca25c1195ed23d22) Change-Id: Id9cfacd35248389cb513a5470dd75ed5a2a30fb9 Reviewed-on: http://gerrit.openafs.org/11259 Reviewed-by: Andrew Deason Reviewed-by: Chas Williams - CONTRACTOR Tested-by: BuildBot Reviewed-by: Stephan Wiesand --- src/vol/vol-info.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/vol/vol-info.c b/src/vol/vol-info.c index 1776a009f..8ee82735d 100644 --- a/src/vol/vol-info.c +++ b/src/vol/vol-info.c @@ -507,8 +507,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. */ -- 2.39.5