X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fvolser%2Fdumpstuff.c;h=8c044d69dfcf9e02a3c6c8544268d508ea470c95;hp=3a7c85e2791df4efb909fce399663975981e952b;hb=cde2449a94915b8b3613b96314595f98765ee68b;hpb=108ed067e0f460515db40f147f9b872083423727 diff --git a/src/volser/dumpstuff.c b/src/volser/dumpstuff.c index 3a7c85e..8c044d6 100644 --- a/src/volser/dumpstuff.c +++ b/src/volser/dumpstuff.c @@ -968,7 +968,7 @@ DumpVnodeIndex(struct iod *iodp, Volume * vp, VnodeClass class, opr_Assert(fdP != NULL); file = FDH_FDOPEN(fdP, "r+"); opr_Assert(file != NULL); - size = OS_SIZE(fdP->fd_fd); + size = FDH_SIZE(fdP); opr_Assert(size != -1); nVnodes = (size / vcp->diskSize) - 1; if (nVnodes > 0) { @@ -1172,7 +1172,7 @@ ProcessIndex(Volume * vp, VnodeClass class, afs_foff_t ** Bufp, int *sizep, STREAM_FLUSH(afile); /* ensure 0s are on the disk */ OS_SYNC(afile->str_fd); } else { - size = OS_SIZE(fdP->fd_fd); + size = FDH_SIZE(fdP); opr_Assert(size != -1); nVnodes = (size <= @@ -1922,7 +1922,7 @@ SizeDumpVnodeIndex(struct iod *iodp, Volume * vp, VnodeClass class, opr_Assert(fdP != NULL); file = FDH_FDOPEN(fdP, "r+"); opr_Assert(file != NULL); - size = OS_SIZE(fdP->fd_fd); + size = FDH_SIZE(fdP); opr_Assert(size != -1); nVnodes = (size / vcp->diskSize) - 1; if (nVnodes > 0) {