mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:04:41 +01:00
scsi: core: Revert "Fix a regression triggered by scsi_host_busy()"
Revert commit a0b7780602 ("scsi: core: Fix a regression triggered by
scsi_host_busy()") because all scsi_host_busy() calls now happen after
the corresponding SCSI host has been added.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Link: https://patch.msgid.link/20260109205104.496478-3-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
202d5dadd3
commit
e60b579720
1 changed files with 2 additions and 3 deletions
|
|
@ -626,9 +626,8 @@ int scsi_host_busy(struct Scsi_Host *shost)
|
|||
{
|
||||
int cnt = 0;
|
||||
|
||||
if (shost->tag_set.ops)
|
||||
blk_mq_tagset_busy_iter(&shost->tag_set,
|
||||
scsi_host_check_in_flight, &cnt);
|
||||
blk_mq_tagset_busy_iter(&shost->tag_set,
|
||||
scsi_host_check_in_flight, &cnt);
|
||||
return cnt;
|
||||
}
|
||||
EXPORT_SYMBOL(scsi_host_busy);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue