scsi: read host_busy via scsi_host_busy()
authorMing Lei <ming.lei@redhat.com>
Sun, 24 Jun 2018 14:03:26 +0000 (22:03 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Jun 2018 16:53:26 +0000 (12:53 -0400)
commitc84b023a4c1461498abf0eda54f60e2fd64a1ca2
tree67ebdb69f8d50cd93209e09945474f23e845280f
parent2b33ab371e026cfcea4cbdf233c6b8776dde9ba8
scsi: read host_busy via scsi_host_busy()

No functional change.

Just introduce scsi_host_busy() and replace the direct read of
scsi_host->host_busy with this new API.

Cc: Omar Sandoval <osandov@fb.com>,
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
Cc: James Bottomley <james.bottomley@hansenpartnership.com>,
Cc: Christoph Hellwig <hch@lst.de>,
Cc: Don Brace <don.brace@microsemi.com>
Cc: Kashyap Desai <kashyap.desai@broadcom.com>
Cc: Mike Snitzer <snitzer@redhat.com>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Laurence Oberman <loberman@redhat.com>
Cc: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/advansys.c
drivers/scsi/hosts.c
drivers/scsi/libsas/sas_scsi_host.c
drivers/scsi/megaraid/megaraid_sas_base.c
drivers/scsi/mpt3sas/mpt3sas_base.c
drivers/scsi/qlogicpti.c
drivers/scsi/scsi.c
drivers/scsi/scsi_error.c
drivers/scsi/scsi_sysfs.c
include/scsi/scsi_host.h