diff options
author | Martin Wilck <mwilck@suse.com> | 2021-03-23 22:24:31 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-03-24 23:19:23 -0400 |
commit | 36fa766faa0c822c860e636fe82b1affcd022974 (patch) | |
tree | 1b190a28f629a66e60958b510c1c48f3deb68389 /lib/test_rhashtable.c | |
parent | 077ce028b8e0684d5ee7da573bd835b14b591546 (diff) |
scsi: target: pscsi: Clean up after failure in pscsi_map_sg()
If pscsi_map_sg() fails, make sure to drop references to already allocated
bios.
Link: https://lore.kernel.org/r/20210323212431.15306-2-mwilck@suse.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Martin Wilck <mwilck@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/test_rhashtable.c')
0 files changed, 0 insertions, 0 deletions