summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorMaxim Levitsky <mlevitsk@redhat.com>2020-07-29 22:48:06 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2020-07-31 04:08:52 +0300
commitbb2e33146876306d5623080e008f61e96e407590 (patch)
treebcaa415abc9a25d21fabc9b3d40d129fcfe3da10 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentfc13638ae92ee9eb861732d642d922d577b82a9e (diff)
downloadlinux-bb2e33146876306d5623080e008f61e96e407590.tar.xz
scsi: virtio-scsi: Correctly handle the case where all LUNs are unplugged
Commit 5ff843721467 ("scsi: virtio_scsi: unplug LUNs when events missed") missed a corner case in which all the LUNs are unplugged at the same time. In this case INQUIRY returns DID_BAD_TARGET. Detect this and unplug the LUN. Link: https://lore.kernel.org/r/20200729194806.4933-2-mlevitsk@redhat.com Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions