diff options
author | 2020-10-05 10:41:28 +0200 | |
---|---|---|
committer | 2020-10-07 21:48:27 -0400 | |
commit | 7007e9dd56767a95de0947b3f7599bcc2f21687f (patch) | |
tree | 2a3419a1303859aaadab9c3d22fa762bdc362332 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: core: Rename scsi_mq_prep_fn() to scsi_prepare_cmd() (diff) | |
download | wireguard-linux-7007e9dd56767a95de0947b3f7599bcc2f21687f.tar.xz wireguard-linux-7007e9dd56767a95de0947b3f7599bcc2f21687f.zip |
scsi: core: Clean up allocation and freeing of sgtables
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions