Windows: correct CheckOfflineVolumeState logic
authorJeffrey Altman <jaltman@your-file-system.com>
Tue, 30 Aug 2011 13:49:11 +0000 (09:49 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Tue, 30 Aug 2011 15:30:13 +0000 (08:30 -0700)
commit8d4f65c3021b3416d290a1d5f1e8e61d14a936c7
tree203840156b9d9c88bfb98c736d9d67b0c0c45bbe
parent130144850c6d05bc69e06257a5d7219eb98697d8
Windows: correct CheckOfflineVolumeState logic

Do not blindly set the return 'online' state to TRUE if
the state has not in fact changed.

Do not blindly clear the 'alldown' flag without checking the
actual 'down' state of the file server.

Change-Id: Iaad401be067513e2bf42609f0b0d407ba5c6302d
Reviewed-on: http://gerrit.openafs.org/5323
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/cm_volume.c