diff options
author | 2022-05-23 10:38:13 +0200 | |
---|---|---|
committer | 2022-05-23 23:24:10 -0400 | |
commit | 7274ce0558adb4b9b1f5c5b613fb4fe331c18911 (patch) | |
tree | 6f8b8d1ea15dade400bf69e77e1cdc4c5fda6540 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | scsi: ufs: ufshcd: Delete unnecessary NULL check (diff) | |
download | linux-dev-7274ce0558adb4b9b1f5c5b613fb4fe331c18911.tar.xz linux-dev-7274ce0558adb4b9b1f5c5b613fb4fe331c18911.zip |
scsi: sd: Don't call blk_cleanup_disk() in sd_probe()
In SCSI the midlayer has ownership of the request_queue, so on probe
failure we must only put the gendisk, but leave the request_queue alone.
Link: https://lore.kernel.org/r/20220523083813.227935-1-hch@lst.de
Fixes: 03252259e18e ("scsi: sd: Clean up gendisk if device_add_disk() failed")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions