git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
btrfs: Relax memory barrier in btrfs_tree_unlock
[sfrench/cifs-2.6.git]
/
fs
/
btrfs
/
locking.c
diff --git
a/fs/btrfs/locking.c
b/fs/btrfs/locking.c
index d13128c70dddc2b440f29f167efe0862d8792e2e..621083f8932c7e5b61d5d9734bd187e73abd1e69 100644
(file)
--- a/
fs/btrfs/locking.c
+++ b/
fs/btrfs/locking.c
@@
-290,7
+290,7
@@
void btrfs_tree_unlock(struct extent_buffer *eb)
/*
* Make sure counter is updated before we wake up waiters.
*/
- smp_mb();
+ smp_mb
__after_atomic
();
if (waitqueue_active(&eb->write_lock_wq))
wake_up(&eb->write_lock_wq);
} else {