Merge r7390 from trunk

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7650 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-11-04 03:20:22 +00:00
parent acbfaf6cf9
commit b7b677e1e7

View File

@@ -963,7 +963,8 @@ static struct file *vdev_open_fd(const struct scst_vdisk_dev *virt_dev,
sBUG_ON(!name);
if (!virt_dev->dev_active) {
TRACE_MGMT_DBG("Skip openning for not active dev %s", virt_dev->dev->virt_name);
TRACE_MGMT_DBG("Skip opening for not active dev %s",
virt_dev->dev->virt_name);
fd = ERR_PTR(-EMEDIUMTYPE);
goto out;
}