mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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>
This commit is contained in:
parent
a32bf9a302
commit
d1980131ca
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue