Windows: Interlocked ops for cm_volume
authorJeffrey Altman <jaltman@your-file-system.com>
Wed, 10 Aug 2011 15:41:21 +0000 (11:41 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Thu, 11 Aug 2011 06:14:51 +0000 (23:14 -0700)
commitcbd075a36000d0b54b64eb7d9736587b27a08e9e
treee1436b3d4eb4d32d178c72b3a1ea880cf267a3f0
parent75297d4439bb30ddd9968805aecf2cc2812bfdf0
Windows: Interlocked ops for cm_volume

Use Interlocked operations for protection of cm_volume flags and
qFlags as well as cm_vol_state flags.

Change-Id: I1a062a5c49d793162b83b9f4f3c32185ae596369
Reviewed-on: http://gerrit.openafs.org/5194
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/cm_volume.c
src/WINNT/afsd/cm_volume.h