Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blk-stat: don't use this_cpu_ptr() in a preemptable section
If PREEMPT_RCU is enabled, rcu_read_lock() isn't strong enough for us to use this_cpu_ptr() in that section. Use the safer get/put_cpu_ptr() variants instead. Reported-by: Mike Galbraith <[email protected]> Fixes: 34dbad5 ("blk-stat: convert to callback-based statistics reporting") Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information