scsi: iscsi: Add task completion helper
authorMike Christie <michael.christie@oracle.com>
Tue, 25 May 2021 18:17:54 +0000 (13:17 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 2 Jun 2021 05:28:19 +0000 (01:28 -0400)
commit1486a4f5c2f35da5743b56037b8bbfb4eb38fa61
tree161639ea6840416688901c6135d8c29d3e6f3372
parent6143f6f6205267b7cd741e1d9ff1fec2cbbe4edf
scsi: iscsi: Add task completion helper

This adds a helper to detect if a cmd has completed but is not yet freed.

Link: https://lore.kernel.org/r/20210525181821.7617-2-michael.christie@oracle.com
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
include/scsi/libiscsi.h