Files
Christoph Hellwig 3aade06471 scsi: core: Clean up allocation and freeing of sgtables
[ Upstream commit 7007e9dd56 ]

Rename scsi_init_io() to scsi_alloc_sgtables(), and ensure callers call
scsi_free_sgtables() to cleanup failures close to scsi_init_io() instead of
leaking it down the generic I/O submission path.

Link: https://lore.kernel.org/r/20201005084130.143273-9-hch@lst.de
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-11-05 11:51:27 +01:00
..
…
…
…
…
2020-03-24 07:57:07 -06:00
…