]> git.michaelhowe.org Git - packages/o/openafs.git/commit
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, 7 Sep 2010 18:45:55 +0000 (11:45 -0700)
commitccc9d2a37a652a823d01cefae51183dbd77e5568
tree5027cd7642820cfb91fc345f1d186957dca59234
parentf3409e4d374f127ec8684c7d816553da38c58681
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>
(cherry picked from commit 8006ff8bf4a6f1944243309e5130538e3cbe62d5)
Reviewed-on: http://gerrit.openafs.org/2687
src/viced/afsfileprocs.c
src/viced/host.c
src/viced/host.h