#ifndef AFS_NT40_ENV
struct afs_stat status;
#endif
- afs_sfsize_t size;
#ifdef AFS_AIX_ENV
#include <sys/statfs.h>
#if defined(AFS_AIX52_ENV)
#endif /* AFS_NT40_ENV */
- size = FDH_SIZE(handleP);
- SplitInt64(size, hi, lo);
+ SplitInt64(howBig, hi, lo);
if (hi == 0L) {
code = DumpInt32(iodp, 'f', lo);
} else {
return VOLSERDUMPERROR;
}
- for (nbytes = size; (nbytes && !error); nbytes -= howMany) {
+ for (nbytes = howBig; (nbytes && !error); nbytes -= howMany) {
if (nbytes < howMany)
howMany = nbytes;
/* Now seek over the data we could not get. An error here means we
* can't do the next read.
*/
- howFar = (size_t)((size - nbytes) + howMany);
+ howFar = (size_t)((howBig - nbytes) + howMany);
}
/* Now write the data out */