diff options
author | Joel Fernandes (Google) <joel@joelfernandes.org> | 2018-06-20 01:14:19 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-07-13 01:42:08 +0300 |
commit | bf5b64355a3ce41752856b66c4efad4d7a88e84b (patch) | |
tree | 9894d06a15a08b64b2e3c2462a12b883f6883b7b /drivers/ide/atiixp.c | |
parent | 4babd855fd6137f9792117eb73b096c221a49d3c (diff) | |
download | linux-bf5b64355a3ce41752856b66c4efad4d7a88e84b.tar.xz |
rcutorture: Fix rcu_barrier successes counter
The rcutorture test module currently increments both successes and error
for the barrier test upon error, which results in misleading statistics
being printed. This commit therefore changes the code to increment the
success counter only when the test actually passes.
This change was tested by by returning from the barrier callback without
incrementing the callback counter, thus introducing what appeared to
rcutorture to be rcu_barrier() failures.
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'drivers/ide/atiixp.c')
0 files changed, 0 insertions, 0 deletions