viced: kill HOST_TO_ZERO macro
authorJeffrey Altman <jaltman@your-file-system.com>
Thu, 12 Jun 2014 00:40:47 +0000 (20:40 -0400)
committerD Brashear <shadow@your-file-system.com>
Fri, 31 Oct 2014 12:37:03 +0000 (08:37 -0400)
commit1b5d5afca69b4a5a6c4027d4b5968d4ebdadc89a
tree21e9d2d3d3adcb43cf99d989f63eec8a2613b99f
parentfb67a8d4ef62387f8ed7d1ffc373a07475e70588
viced: kill HOST_TO_ZERO macro

Move all struct host fields that are zeroed into a new structure
host_to_zero which is then included in struct host as 'z'.

Remove the HOST_TO_ZERO macro entirely as its presence can lead
to the introduction of dangerous errors.

Change-Id: I44afd37413afae4e4357e68cdadf5c28784611c5
Reviewed-on: http://gerrit.openafs.org/11287
Reviewed-by: D Brashear <shadow@your-file-system.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: D Brashear <shadow@your-file-system.com>
src/viced/afsfileprocs.c
src/viced/callback.c
src/viced/host.c
src/viced/host.h