projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge ath-current from ath.git
[cascardo/linux.git]
/
fs
/
btrfs
/
raid56.c
diff --git
a/fs/btrfs/raid56.c
b/fs/btrfs/raid56.c
index
fcf7265
..
1a33d3e
100644
(file)
--- a/
fs/btrfs/raid56.c
+++ b/
fs/btrfs/raid56.c
@@
-810,7
+810,11
@@
static noinline void unlock_stripe(struct btrfs_raid_bio *rbio)
}
goto done_nolock;
}
goto done_nolock;
- } else if (waitqueue_active(&h->wait)) {
+ /*
+ * The barrier for this waitqueue_active is not needed,
+ * we're protected by h->lock and can't miss a wakeup.
+ */
+ } else if (waitqueue_active(&h->wait)) {
spin_unlock(&rbio->bio_list_lock);
spin_unlock_irqrestore(&h->lock, flags);
wake_up(&h->wait);
spin_unlock(&rbio->bio_list_lock);
spin_unlock_irqrestore(&h->lock, flags);
wake_up(&h->wait);