summaryrefslogtreecommitdiff
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-11-05 09:13:48 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-20 08:11:38 +0200
commit4e6958563b29d617c443ddc866808f6d83aafb63 (patch)
treeef25cbd3ac428aa919ace77c3e98ffe3a31f1392 /include/linux/blkdev.h
parentaee60ffbceeb0f5d10b5fdbd2f47b268eb41e9d4 (diff)
blktrace: fix unlocked access to init/start-stop/teardown
commit 1f2cac107c591c24b60b115d6050adc213d10fc0 upstream. 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> Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions