From: John Garry Date: Thu, 23 Oct 2025 08:27:59 +0000 (+0000) Subject: scsi: core: Minor comment fixes for scsi_host_busy() X-Git-Tag: ceph-for-6.19-rc5~189^2~39 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=dcc98c11364e19df1b4b49d75a04149f99c1b348;p=ceph-client.git scsi: core: Minor comment fixes for scsi_host_busy() I guess that the @shost comment on scsi_host_busy() was copied from scsi_host_get() (as it is the same), however they do not do the same thing. Also drop reference to busy counter, which has been removed. Signed-off-by: John Garry Reviewed-by: Bart Van Assche Link: https://patch.msgid.link/20251023082759.3927000-1-john.g.garry@oracle.com Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c index cc5d05dc395c..eb224a338fa2 100644 --- a/drivers/scsi/hosts.c +++ b/drivers/scsi/hosts.c @@ -604,8 +604,8 @@ static bool scsi_host_check_in_flight(struct request *rq, void *data) } /** - * scsi_host_busy - Return the host busy counter - * @shost: Pointer to Scsi_Host to inc. + * scsi_host_busy - Return the count of in-flight commands + * @shost: Pointer to Scsi_Host **/ int scsi_host_busy(struct Scsi_Host *shost) {