提交 51c1d9d9 编写于 作者: J Jason Yan 提交者: Xie XiuQi

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 d2a14525 ("scsi: avoid a permanent stop of the scsi device's
request queue").
Signed-off-by: NJason Yan <yanaijie@huawei.com>
Reviewed-by: Nzhengbin <zhengbin13@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 2c189321
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册