diff options
| author | Mike Snitzer <[email protected]> | 2016-08-05 12:29:06 -0400 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2016-08-15 09:23:14 -0400 |
| commit | 802934b2cfde463b72cc1b9bc1c081895a90be53 (patch) | |
| tree | 248f0398c49bbf71371d0a9b1eb2151b53290993 /tools/lib/api/fs/tracing_path.c | |
| parent | 694d0d0bb2030d2e36df73e2d23d5770511dbc8d (diff) | |
dm round robin: do not use this_cpu_ptr() without having preemption disabled
Use local_irq_save() to disable preemption before calling
this_cpu_ptr().
Reported-by: Benjamin Block <[email protected]>
Fixes: b0b477c7e0dd ("dm round robin: use percpu 'repeat_count' and 'current_path'")
Cc: [email protected] # 4.6+
Suggested-by: Jens Axboe <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/tracing_path.c')
0 files changed, 0 insertions, 0 deletions