diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-10-05 23:03:02 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-10-05 23:03:02 +0200 |
commit | 773e3f93577ffb493fb7c39b1a6ecf39b5748e87 (patch) | |
tree | 78340c40e26e3dbcbde66b013710b6c916ecc05b /block | |
parent | rcu: rcu_read_lock_bh_held(): disabling irqs also disables bh (diff) | |
download | linux-773e3f93577ffb493fb7c39b1a6ecf39b5748e87.tar.xz linux-773e3f93577ffb493fb7c39b1a6ecf39b5748e87.zip |
rcu: move check from rcu_dereference_bh to rcu_read_lock_bh_held
As suggested by Linus, push the irqs_disabled() down to the
rcu_read_lock_bh_held() level so that all callers get the benefit
of the correct check.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions