Windows: interlocked refCount increment in cm_GetSCache
authorJeffrey Altman <jaltman@your-file-system.com>
Mon, 14 Nov 2011 22:49:45 +0000 (17:49 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 15 Nov 2011 14:10:09 +0000 (06:10 -0800)
commitc4d19e5d4271a31fd29c111fb27d145dc83b83b7
treea79b4e53d8f21e7e35c3ce4bf77a8d0d8b374d91
parente55d1774b1b5b27a3617467b5e2a24ee2be3a38c
Windows: interlocked refCount increment in cm_GetSCache

Failure to use interlocked operations in cm_GetSCache can
result in an under count

Change-Id: I370bcb9ac8b40f1c1b7ea3b7647fc76e3a554e2c
Reviewed-on: http://gerrit.openafs.org/6046
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsd/cm_scache.c