scsi: libsas: Grab the ATA port lock in sas_ata_device_link_abort()
mainline inclusion from mainline-v6.2-rc4 commit a67aad57 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I6NPLN CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a67aad57d9aee41180aff36e54cb72fe4b8d5a5a ---------------------------------------------------------------------- Grab the ATA port lock in sas_ata_device_link_abort() before calling ata_link_abort() as outlined in this function's locking requirements. Fixes: 44112922 ("scsi: libsas: Add sas_ata_device_link_abort()") Signed-off-by: NXingui Yang <yangxingui@huawei.com> Reviewed-by: NJohn Garry <john.g.garry@oracle.com> Reviewed-by: NJason Yan <yanaijie@huawei.com> Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Nxiabing <xiabing12@h-partners.com>
Showing
想要评论请 注册 或 登录