Windows: Do not double increment cm_data.currentCells
authorJeffrey Altman <jaltman@your-file-system.com>
Mon, 11 Feb 2013 21:40:36 +0000 (16:40 -0500)
committerJeffrey Altman <jaltman@your-file-system.com>
Tue, 12 Feb 2013 04:20:53 +0000 (20:20 -0800)
commitd8f47f05d4e5580801916ef4ead30560e42d0b77
tree05c0d0451ab85540317ab88ea4f36daca5c52661
parentf9f9a7ab1791bfce1e2d442c683bb664dd2ab630
Windows: Do not double increment cm_data.currentCells

During cm_cell generation the cm_data.currentCells value was
incremented twice.  As a result cm_currentCells did not equal the
number of cm_cell objects allocated.  Upon restart the AFSCache
contents would be discarded.

Change-Id: I2b62cb8268789e46f5ada4aa039e41c7ea8b47a5
Reviewed-on: http://gerrit.openafs.org/9090
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsd/cm_cell.c
src/WINNT/afsd/cm_memmap.h