commit | 4660c49f9b4ad50eab410de09eeacc2e3aebf1f5 | [log] [tgz] |
---|---|---|
author | Nikolay Borisov <nborisov@suse.com> | Fri Oct 20 18:10:58 2017 +0300 |
committer | David Sterba <dsterba@suse.com> | Mon Jan 22 16:08:10 2018 +0100 |
tree | 89130cb6eb02df2822a16dc5debd7c432fe781e2 | |
parent | 9deae9689231964972a94bb56a79b669f9d47ac1 [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>