summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2025-12-17 14:05:25 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-02-26 14:59:46 -0800
commit410336fc82ac9e1a294af56b9ede0e0e0910ba61 (patch)
tree92283dad590f6c4f038ae7893d82af9f98aa4662 /include/net/aligned_data.h
parent62a16b2e3ce9b7fc92898d957316573e3f847ab7 (diff)
ata: libata-scsi: refactor ata_scsi_translate()
commit bb3a8154b1a1dc2c86d037482c0a2cf9186829ed upstream. Factor out of ata_scsi_translate() the code handling queued command deferral using the port qc_defer callback and issuing the queued command with ata_qc_issue() into the new function ata_scsi_qc_issue(), and simplify the goto used in ata_scsi_translate(). While at it, also add a lockdep annotation to check that the port lock is held when ata_scsi_translate() is called. No functional changes. Cc: stable@vger.kernel.org Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Niklas Cassel <cassel@kernel.org> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: John Garry <john.g.garry@oracle.com> Reviewed-by: Igor Pylypiv <ipylypiv@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions