summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8b4b0dc)
raw | patch | inline | side by side (parent: 8b4b0dc)
author | Michael S. Tsirkin <mst@redhat.com> | |
Thu, 31 Jan 2013 11:12:29 +0000 (13:12 +0200) | ||
committer | Nicholas Bellinger <nab@linux-iscsi.org> | |
Thu, 31 Jan 2013 21:06:06 +0000 (13:06 -0800) |
It's OK to get kick before backend is set or after
it is cleared, we can just ignore it.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
it is cleared, we can just ignore it.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/vhost/tcm_vhost.c | patch | blob | history |
index b20df5c829f5036042008d37f6ab20d424e977cd..22321cf84fbe2ce4c19090928ba5ecb83b8e5486 100644 (file)
/* Must use ioctl VHOST_SCSI_SET_ENDPOINT */
tv_tpg = vs->vs_tpg;
- if (unlikely(!tv_tpg)) {
- pr_err("%s endpoint not set\n", __func__);
+ if (unlikely(!tv_tpg))
return;
- }
mutex_lock(&vq->mutex);
vhost_disable_notify(&vs->dev, vq);