summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-03-08 08:51:52 +0300
committerJens Axboe <axboe@kernel.dk>2022-03-09 05:40:01 +0300
commit534cf52aa9c18d87599a8811a39735c1b62742a0 (patch)
tree706c06bc4c59d02de3083e200d72055d5ecbbd81 /tools/perf/scripts/python
parentc76c46fa04c42f7d3a494c526ce5f030da36b553 (diff)
downloadlinux-534cf52aa9c18d87599a8811a39735c1b62742a0.tar.xz
sd: delay calling free_opal_dev
Call free_opal_dev from scsi_disk_release as the opal_dev field is accessed from the ioctl handler, which isn't synchronized vs sd_release and thus can be accessed during or after sd_release was called. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Link: https://lore.kernel.org/r/20220308055200.735835-7-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions