diff options
author | Hannes Reinecke <hare@suse.de> | 2020-02-28 08:53:16 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-02-28 20:54:52 -0500 |
commit | f4a0c9dbc665764e10cd603fe6a6a9ece26dc41d (patch) | |
tree | 4017b68a228309193c8944e6ee86b3c7109b8e4d /kernel/power/suspend.c | |
parent | dcece99e86b1191d2789fb5b5caa4c5b7fc2bfef (diff) | |
download | linux-f4a0c9dbc665764e10cd603fe6a6a9ece26dc41d.tar.bz2 |
scsi: aacraid: use scsi_host_busy_iter() to wait for outstanding commands
Instead of traversing the list of possible commands by hands we should be
using scsi_host_busy_iter() to figure out if there are outstanding
commands.
Link: https://lore.kernel.org/r/20200228075318.91255-12-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 'kernel/power/suspend.c')
0 files changed, 0 insertions, 0 deletions