summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-05-23 10:38:13 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2022-05-23 23:24:10 -0400
commit7274ce0558adb4b9b1f5c5b613fb4fe331c18911 (patch)
tree6f8b8d1ea15dade400bf69e77e1cdc4c5fda6540 /drivers/hwmon
parent476e45923b5df19534178d0ed5c87c517dd6f669 (diff)
downloadlinux-stable-7274ce0558adb4b9b1f5c5b613fb4fe331c18911.tar.gz
linux-stable-7274ce0558adb4b9b1f5c5b613fb4fe331c18911.tar.bz2
linux-stable-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 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions