From 03ec768fa65dc5961e161517871f3035df70b643 Mon Sep 17 00:00:00 2001 From: Michael Meffie Date: Tue, 27 Mar 2012 00:33:26 -0400 Subject: [PATCH] volscan: index offset output column Add index offset as a possible volscan output column. Change-Id: I1bf6e8dc3c506a2ee013536e19141ddb214879a6 Reviewed-on: http://gerrit.openafs.org/6980 Reviewed-by: Derrick Brashear Tested-by: BuildBot --- src/vol/vol-info.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vol/vol-info.c b/src/vol/vol-info.c index 5f09467a7d..8682f1af57 100644 --- a/src/vol/vol-info.c +++ b/src/vol/vol-info.c @@ -81,6 +81,7 @@ typedef enum { c(host) \ c(desc) \ c(vid) \ + c(offset) \ c(vtype) \ c(vname) \ c(part) \ @@ -2443,6 +2444,9 @@ PrintColumns(struct VnodeDetails *vdp, const char *desc) case col_vid: printf("%lu", afs_printable_uint32_lu(V_id(vdp->vp))); break; + case col_offset: + printf("%llu", vdp->offset); + break; case col_vtype: printf("%s", volumeTypeShortString(V_type(vdp->vp))); break;