diff options
author | Hannes Reinecke <hare@suse.de> | 2020-02-28 08:53:17 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-02-28 20:54:53 -0500 |
commit | 35d2ce0b6570aa399184b5dfe7e5a821e5ff9f05 (patch) | |
tree | 1b9c4ceb37d3500102e49d391410c3aed5fa2df8 /include/scsi/scsi_device.h | |
parent | f4a0c9dbc665764e10cd603fe6a6a9ece26dc41d (diff) | |
download | linux-35d2ce0b6570aa399184b5dfe7e5a821e5ff9f05.tar.bz2 |
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 'include/scsi/scsi_device.h')
0 files changed, 0 insertions, 0 deletions