aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util
diff options
context:
space:
mode:
authorWenchao Hao <[email protected]>2023-05-15 15:01:55 +0800
committerMartin K. Petersen <[email protected]>2023-05-16 21:56:35 -0400
commit6ca9818d1624e136a76ae8faedb6b6c95ca66903 (patch)
treeabb9dc169e3d923aed3f0e536db73331014da672 /tools/perf/util
parent4e81a6cba517cb33584308a331f14f5e3fec369b (diff)
scsi: Revert "scsi: core: Do not increase scsi_device's iorequest_cnt if dispatch failed"
The "atomic_inc(&cmd->device->iorequest_cnt)" in scsi_queue_rq() would cause kernel panic because cmd->device may be freed after returning from scsi_dispatch_cmd(). This reverts commit cfee29ffb45b1c9798011b19d454637d1b0fe87d. Signed-off-by: Wenchao Hao <[email protected]> Reported-by: Ming Lei <[email protected]> Closes: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ming Lei <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util')
0 files changed, 0 insertions, 0 deletions