提交 c7c72c5a 编写于 作者: A Aneesh Kumar K.V 提交者: Eric Van Hensbergen

net/9p: Add device name details on error

If we use wrong device name 9p mount fails with error

"9pnet_virtio: no channels available"

Improve the error output as below

"9pnet_virtio: no channels available for device /dev/root"
Signed-off-by: NAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: NEric Van Hensbergen <ericvh@gmail.com>
上级 63f4f7e8
...@@ -662,7 +662,7 @@ p9_virtio_create(struct p9_client *client, const char *devname, char *args) ...@@ -662,7 +662,7 @@ p9_virtio_create(struct p9_client *client, const char *devname, char *args)
mutex_unlock(&virtio_9p_lock); mutex_unlock(&virtio_9p_lock);
if (!found) { if (!found) {
pr_err("no channels available\n"); pr_err("no channels available for device %s\n", devname);
return ret; return ret;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册