Let SRXAFS_GetStatistics64 return correct values for the workstations
authorHartmut Reuter <reuter@rzg.mpg.de>
Tue, 31 Aug 2010 11:30:41 +0000 (13:30 +0200)
committerDerrick Brashear <shadow@dementia.org>
Tue, 31 Aug 2010 16:23:45 +0000 (09:23 -0700)
commit8006ff8bf4a6f1944243309e5130538e3cbe62d5
treef1289272bdf62ee5fb2d0f7353eea6ec72623267
parent759487038bbaccf59e49f973b627ee20f555e7b3
Let SRXAFS_GetStatistics64 return correct values for the workstations

h_GetWorkstats was called also for 64bit which let random contents
in the other half of the 64bit field. Worse: little and big endian
machines filled different parts of the field so that a later masking
in fsprobe would net help for all kinds of servers.

Now a small wrapper h_GetWorkstats64 is called which calls h_GetWorkstats
correctly.

Change-Id: Iaeafd77dfa03d88caa98e4e352f95bfb33d736df
Reviewed-on: http://gerrit.openafs.org/2629
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/viced/afsfileprocs.c
src/viced/host.c
src/viced/host.h