Skip to content
Commit 39bf0949 authored by David S. Miller's avatar David S. Miller
Browse files

[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: default avatarDavid S. Miller <davem@davemloft.net>
parent 68c708fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment