commit | d1980131ca7f0776542f776ceb777cd01eb983e2 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Fri Mar 16 02:39:40 2018 +0100 |
committer | David Sterba <dsterba@suse.com> | Sat Mar 31 02:01:06 2018 +0200 |
tree | 0fae91ad3ab13a05c9075ab410e0414b736a73d9 | |
parent | a32bf9a30201f13097428a3327c7c67f678c760c [diff] |
btrfs: update barrier in should_cow_block Once there was a simple int force_cow that was used with the plain barriers, and then converted to a bit, so we should use the appropriate barrier helper. Other variables in the complex if condition do not depend on a barrier, so we should be fine in case the atomic barrier becomes a no-op. Signed-off-by: David Sterba <dsterba@suse.com>