Files
twx-linux/drivers
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:15:55 +02:00
…
2021-09-22 11:47:54 +02:00
…
…
…
…
…
…
…
2021-08-26 08:36:46 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…