viced: AFSDisk, AFSFetchVolumeStatus Int31 PartSize
authorJeffrey Altman <jaltman@your-file-system.com>
Tue, 3 Apr 2012 02:35:41 +0000 (22:35 -0400)
committerDerrick Brashear <shadow@dementix.org>
Tue, 3 Apr 2012 02:45:49 +0000 (19:45 -0700)
commite8f6dfac59fe042a04a9ac5eb3c37356cb3a22a3
tree81a657b38be116701b068db8276fff523191f304
parent223cbf5a5bc1812f3b2ce86a7b05dc56f517c6f8
viced: AFSDisk, AFSFetchVolumeStatus Int31 PartSize

The AFSDisk and AFSFetchVolumeStatus structures use signed
32-bit integers for representation partition size and
available blocks.  RoundInt64ToInt31() should be used instead
of RoundInt64ToInt32() when assigning their values.

Change-Id: I3834141fce2d54ce8bdfac3dc566074583bb305e
Reviewed-on: http://gerrit.openafs.org/7022
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
src/viced/afsfileprocs.c