summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_priv.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2020-02-28 08:53:17 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2020-02-29 02:54:53 +0100
commit35d2ce0b6570aa399184b5dfe7e5a821e5ff9f05 (patch)
tree1b9c4ceb37d3500102e49d391410c3aed5fa2df8 /drivers/scsi/scsi_priv.h
parentscsi: aacraid: use scsi_host_busy_iter() to wait for outstanding commands (diff)
downloadlinux-35d2ce0b6570aa399184b5dfe7e5a821e5ff9f05.tar.xz
linux-35d2ce0b6570aa399184b5dfe7e5a821e5ff9f05.zip
scsi: aacraid: use scsi_host_busy_iter() in get_num_of_incomplete_fibs()
Use the SCSI midlayer helper to traverse the number of outstanding commands. This also eliminates the last usage for the cmd_list functionality so we can drop it. Link: https://lore.kernel.org/r/20200228075318.91255-13-hare@suse.de Reviewed-by: Christoph Hellwig <hch@lst.de> Acked-by: Balsundar P <balsundar.p@microchip.com> Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_priv.h')
0 files changed, 0 insertions, 0 deletions