]> git.michaelhowe.org Git - packages/o/openafs.git/commit
viced: AFSDisk, AFSFetchVolumeStatus Int31 PartSize
authorJeffrey Altman <jaltman@your-file-system.com>
Tue, 3 Apr 2012 02:35:41 +0000 (22:35 -0400)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 3 Apr 2012 03:06:20 +0000 (20:06 -0700)
commita64864529d1fca2b5a3f4d21ec598982be335368
tree0296daad7e8aa0625e4feaf27e294caade4071ff
parentc78b25ff5aab3acf159c9dcea6e8b811a9acdbc4
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>
(cherry picked from commit e8f6dfac59fe042a04a9ac5eb3c37356cb3a22a3)
Reviewed-on: http://gerrit.openafs.org/7023
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/viced/afsfileprocs.c