summaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2023-05-29 13:26:36 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2023-05-31 11:42:46 -0400
commitc854bcdf5e18a3b672e363138f2f6657a1803170 (patch)
tree69e70df549306993f8d99a39a4077eac461951bb /include/scsi
parentac9a78681b921877518763ba0e89202254349d1b (diff)
scsi: core: Rework scsi_host_block()
Make scsi_host_block() easier to read by converting it to the widely used early-return style. See also commit f983622ae605 ("scsi: core: Avoid calling synchronize_rcu() for each device in scsi_host_block()"). Reviewed-by: Mike Christie <michael.christie@oracle.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Cc: Ye Bin <yebin10@huawei.com> Cc: Hannes Reinecke <hare@suse.de> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20230529202640.11883-2-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions