mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
scsi: core: Add missing scsi_device_put() in scsi_host_block()
The scsi_host_block() case was missing in commit4dea170f4f("scsi: core: Fix incorrect usage of shost_for_each_device"). Link: https://lore.kernel.org/r/20200717090921.29243-1-yebin10@huawei.com Fixes:2bb955840c("scsi: core: add scsi_host_(block,unblock) helper function") Fixes:4dea170f4f("scsi: core: Fix incorrect usage of shost_for_each_device") Signed-off-by: Ye Bin <yebin10@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
e73a5e8e80
commit
f30785db75
1 changed files with 3 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue