summaryrefslogtreecommitdiff
path: root/kernel/trace/trace_sched_switch.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-11-05 19:13:48 +0300
committerJens Axboe <axboe@kernel.dk>2017-11-11 05:53:25 +0300
commit1f2cac107c591c24b60b115d6050adc213d10fc0 (patch)
tree958d22ca65748177f3d3de85af6ef468fe5826c7 /kernel/trace/trace_sched_switch.c
parentbf9fc98b736b8a3837040d5ce3a7caf04fa0859c (diff)
downloadlinux-1f2cac107c591c24b60b115d6050adc213d10fc0.tar.xz
blktrace: fix unlocked access to init/start-stop/teardown
sg.c calls into the blktrace functions without holding the proper queue mutex for doing setup, start/stop, or teardown. Add internal unlocked variants, and export the ones that do the proper locking. Fixes: 6da127ad0918 ("blktrace: Add blktrace ioctls to SCSI generic devices") Tested-by: Dmitry Vyukov <dvyukov@google.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/trace/trace_sched_switch.c')
0 files changed, 0 insertions, 0 deletions