Skip to content

Commit 9096576

Browse files
Christoph Hellwigmartinkpetersen
authored andcommitted
scsi: libsas: allow async aborts
We now first try to call ->eh_abort_handler from a work queue, but libsas was always failing that for no good reason. Allow async aborts. Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 1bcb930 commit 9096576

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/scsi/libsas/sas_scsi_host.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -491,9 +491,6 @@ int sas_eh_abort_handler(struct scsi_cmnd *cmd)
491491
struct Scsi_Host *host = cmd->device->host;
492492
struct sas_internal *i = to_sas_internal(host->transportt);
493493

494-
if (current != host->ehandler)
495-
return FAILED;
496-
497494
if (!i->dft->lldd_abort_task)
498495
return FAILED;
499496

0 commit comments

Comments
 (0)