From 51c1d9d9bb8092387bca7e454df58813a2e86906 Mon Sep 17 00:00:00 2001 From: Jason Yan Date: Mon, 18 Feb 2019 16:04:07 +0800 Subject: [PATCH] scsi: part of avoid a permanent stop of the scsi devices request queue euler inclusion category: bugfix bugzilla: 8188 CVE: NA --------------------------- The upstream part has merged in v4.10-rc1: commit d2a145252c52 ("scsi: avoid a permanent stop of the scsi device's request queue"). Signed-off-by: Jason Yan Reviewed-by: zhengbin Signed-off-by: Yang Yingliang --- drivers/scsi/scsi_lib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index b5f638286037..3a7cea97637d 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -3261,6 +3261,7 @@ int scsi_internal_device_unblock_nowait(struct scsi_device *sdev, break; case SDEV_CANCEL: case SDEV_OFFLINE: + case SDEV_RUNNING: break; default: return -EINVAL; -- GitLab