rx: Fix AIX test_and_set_bit
authorSimon Wilkinson <sxw@your-file-system.com>
Sat, 2 Feb 2013 07:17:53 +0000 (07:17 +0000)
committerDerrick Brashear <shadow@your-file-system.com>
Sat, 2 Feb 2013 13:19:08 +0000 (05:19 -0800)
commit9dc6dd9858a49aab5207cdc46b6820a18ef54bf4
treefd12a34cc70f471babf3d5e59305b19945d775e5
parent69f634503482f899e4d422b16100636905c72ea8
rx: Fix AIX test_and_set_bit

The AIX definition of rx_atomic_test_and_set_bit had its test the
wrong way round - so an already set bit would return false, and a clear
bit would return true. Fix this.

Change-Id: I7778c411016bca53b38257fca59ae0f7aaad64ae
Reviewed-on: http://gerrit.openafs.org/9021
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/rx/rx_atomic.h