From: Michael Meffie Date: Tue, 27 Mar 2012 04:33:26 +0000 (-0400) Subject: volscan: index offset output column X-Git-Tag: upstream/1.8.0_pre1^2~2536 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=03ec768fa65dc5961e161517871f3035df70b643;p=packages%2Fo%2Fopenafs.git 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 --- diff --git a/src/vol/vol-info.c b/src/vol/vol-info.c index 5f09467a7..8682f1af5 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;