summaryrefslogtreecommitdiffstats
path: root/fs/dlm/lockspace.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 20:39:14 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 20:39:14 -0700
commit39bf09493042200b967cdf2ee6e3f670b7963903 (patch)
tree081f76ef36a7ac43dd756dea1f9201caba7c821b /fs/dlm/lockspace.h
parent68c708fd5e90f6d178c84bb7e641589eb2842319 (diff)
downloadop-kernel-dev-39bf09493042200b967cdf2ee6e3f670b7963903.zip
op-kernel-dev-39bf09493042200b967cdf2ee6e3f670b7963903.tar.gz
[AFS]: Eliminate cmpxchg() usage in vlocation code.
cmpxchg() is not available on every processor so can't be used in generic code. Replace with spinlock protection on the ->state changes, wakeups, and wait loops. Add what appears to be a missing wakeup on transition to AFS_VL_VALID state in afs_vlocation_updater(). Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/dlm/lockspace.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud