diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-10-09 09:26:25 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-12-04 10:52:52 -0800 |
commit | cb7e125e03274cffa97d74433c876765efffaf6a (patch) | |
tree | 5e6be1ed0c2ec7f97e5203636dc5eb6604d8dd56 /fs/dcache.c | |
parent | a4bd78ed215873a68869e41fd59543be8ca38e7f (diff) | |
download | lwn-cb7e125e03274cffa97d74433c876765efffaf6a.tar.gz lwn-cb7e125e03274cffa97d74433c876765efffaf6a.zip |
drivers/net/ethernet/qlogic/qed: Fix __qed_spq_block() ordering
The __qed_spq_block() function expects an smp_read_barrier_depends()
to order a prior READ_ONCE() against a later load that does not depend
on the prior READ_ONCE(), an expectation that can fail to be met.
This commit therefore replaces the READ_ONCE() with smp_load_acquire()
and removes the smp_read_barrier_depends().
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Ariel Elior <Ariel.Elior@cavium.com>
Cc: <everest-linux-l2@cavium.com>
Cc: <netdev@vger.kernel.org>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions