commit | bdf0d1052106ab6dc8aa3e826dc8ebe065263f2d | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Tue Jun 27 16:02:18 2017 -0700 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Tue Jun 27 16:30:52 2017 -0700 |
tree | 31e0b8703b6893da017483df2b551154d9492f2f | |
parent | f55dd7698ac605beb5cbbd150701d78ffc23eecc [diff] |
drivers/ata/libata-eh: Add smp_mb() before spin_unlock_wait() Many spin_unlock_wait() implementations do not provide release semantics and it is not clear that this use case does not require them. This commit therefore adds an smp_mb() before the spin_unlock_wait() to ensure that any needed release semantics are provided. Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>