scsi: core: Add comment to target_destroy in scsi_host_template
authorWenchao Hao <haowenchao2@huawei.com>
Wed, 18 Oct 2023 11:37:46 +0000 (19:37 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 25 Oct 2023 02:31:04 +0000 (22:31 -0400)
commit82f52b2cd5fccc61290e14c970f1280791ca4dee
treeb18d9e7f915fc1261bc8d845acab04b3dd5e1990
parent3dc985bfbd00e1fb3dac4b1359efd6b71855b81f
scsi: core: Add comment to target_destroy in scsi_host_template

Add comment to indicate that the callback function target_destroy in the
scsi_host_template must not sleep.

Signed-off-by: Wenchao Hao <haowenchao2@huawei.com>
Link: https://lore.kernel.org/r/20231018113746.1940197-3-haowenchao2@huawei.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
include/scsi/scsi_host.h