Files
twx-linux/drivers/scsi
Ming Lei eadb60bcc2 scsi: sd: Free scsi_disk device via put_device()
[ Upstream commit 265dfe8ebb ]

After a device is initialized via device_initialize() it should be freed
via put_device(). sd_probe() currently gets this wrong, fix it up.

Link: https://lore.kernel.org/r/20210906090112.531442-1-ming.lei@redhat.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-10-09 14:11:03 +02:00
..
2021-07-20 16:16:08 +02:00
2021-07-20 16:16:08 +02:00
…
2018-08-21 23:54:17 -04:00
…
…
…
…
…
…
…
…
…
…
2018-06-19 22:02:25 -04:00
…
…
2018-06-19 22:02:25 -04:00
2018-06-19 22:02:25 -04:00
…
…
2018-05-18 12:03:51 -04:00
…
2018-06-19 22:02:25 -04:00
2018-06-19 22:02:25 -04:00
…
…
…
…
…
…
…
2019-12-01 09:16:26 +01:00
…
2021-05-22 10:59:33 +02:00
…
…
…
…
…
…
…
2018-06-12 16:19:22 -07:00
…
2018-06-12 16:19:22 -07:00
…
…
…
…
…
…
2018-06-19 22:02:25 -04:00
…
2018-06-12 16:19:22 -07:00
…
…
2021-05-22 10:59:34 +02:00
…
…
…
2021-05-22 10:59:34 +02:00
…
…
…
…
…
…