diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2011-02-21 13:20:55 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-10-14 16:47:42 +0200 |
commit | 4738fa16907a933d72bbcae1b8922dc9330fde92 (patch) | |
tree | d0a48980a5269758ba01545b4200c548b30b0909 /samples | |
parent | 61610420f764acb835af4a450251dbab2ab6d621 (diff) | |
download | linux-4738fa16907a933d72bbcae1b8922dc9330fde92.tar.gz linux-4738fa16907a933d72bbcae1b8922dc9330fde92.tar.bz2 linux-4738fa16907a933d72bbcae1b8922dc9330fde92.zip |
drbd: use clear_bit_unlock() where appropriate
Some open-coded clear_bit(); smp_mb__after_clear_bit();
should in fact have been smp_mb__before_clear_bit(); clear_bit();
Instead, use clear_bit_unlock() to annotate the intention,
and have it do the right thing.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions