scsi: aacraid: replace aac_flush_ios() with midlayer helper
authorHannes Reinecke <hare@suse.de>
Fri, 28 Feb 2020 07:53:11 +0000 (08:53 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 29 Feb 2020 01:54:49 +0000 (20:54 -0500)
commitb64f239e6116857e8ec4f4effa2f9deff2758889
treec29b7249d4f4fadaef9969fe1bd3abe233fb1535
parenta1855f612686077411af282a6957c745d98de021
scsi: aacraid: replace aac_flush_ios() with midlayer helper

Use the midlayer helper scsi_host_complete_all_commands() to flush all
outstanding commands.

Link: https://lore.kernel.org/r/20200228075318.91255-7-hare@suse.de
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
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>
drivers/scsi/aacraid/linit.c