diff options
| author | 2017-10-20 18:10:58 +0300 | |
|---|---|---|
| committer | 2018-01-22 16:08:10 +0100 | |
| commit | 4660c49f9b4ad50eab410de09eeacc2e3aebf1f5 (patch) | |
| tree | 89130cb6eb02df2822a16dc5debd7c432fe781e2 /kernel/debug/debug_core.c | |
| parent | btrfs: Fix memory barriers usage with device stats counters (diff) | |
btrfs: Remove redundant memory barrier in dev stats
As per atomic_t.txt documentation :
- RMW operations that have a return value are fully ordered;
atomic_xchg is one such operation so it already includes everything it
needs w.r.t memory ordering and add a comment to be more explicit about
that.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'kernel/debug/debug_core.c')
0 files changed, 0 insertions, 0 deletions
