]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: core: add scsi_host_(block,unblock) helper function
authorHannes Reinecke <hare@suse.de>
Fri, 28 Feb 2020 07:53:13 +0000 (08:53 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 29 Feb 2020 01:54:51 +0000 (20:54 -0500)
commit1337a46f5e9d4f31f4a56e48b314c39d1d086d31
treefa78adae27c16e7378390d6c44e8c8720c21586d
parentaeacbdbccd2e898822140a012882b39803f50f70
scsi: core: add scsi_host_(block,unblock) helper function

Add helper functions to call scsi_internal_device_block()/
scsi_internal_device_unblock() for all attached devices on a SCSI host.

Link: https://lore.kernel.org/r/20200228075318.91255-9-hare@suse.de
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_lib.c
include/scsi/scsi_host.h