summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDavid Sterba2018-03-16 02:39:40 +0100
committerDavid Sterba2018-03-31 02:01:06 +0200
commitd1980131ca7f0776542f776ceb777cd01eb983e2 (patch)
tree0fae91ad3ab13a05c9075ab410e0414b736a73d9 /tools
parentbtrfs: use lockdep_assert_held for mutexes (diff)
downloadkernel-qcow2-linux-d1980131ca7f0776542f776ceb777cd01eb983e2.tar.gz
kernel-qcow2-linux-d1980131ca7f0776542f776ceb777cd01eb983e2.tar.xz
kernel-qcow2-linux-d1980131ca7f0776542f776ceb777cd01eb983e2.zip
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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions