From: Christoph Hellwig Date: Thu, 6 Apr 2017 13:36:32 +0000 (+0200) Subject: scsi: libsas: allow async aborts X-Git-Tag: v4.12-rc1~99^2~76 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=909657615d9b3ce709be4fd95b9a9e8c8c7c2be6;p=platform%2Fkernel%2Flinux-exynos.git 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 Reviewed-by: Hannes Reinecke Signed-off-by: Christoph Hellwig Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c index 9bd55bc..ee6b39a 100644 --- a/drivers/scsi/libsas/sas_scsi_host.c +++ b/drivers/scsi/libsas/sas_scsi_host.c @@ -491,9 +491,6 @@ int sas_eh_abort_handler(struct scsi_cmnd *cmd) struct Scsi_Host *host = cmd->device->host; struct sas_internal *i = to_sas_internal(host->transportt); - if (current != host->ehandler) - return FAILED; - if (!i->dft->lldd_abort_task) return FAILED;