projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63f4f7e
)
net/9p: Add device name details on error
author
Aneesh Kumar K.V
<aneesh.kumar@linux.vnet.ibm.com>
Thu, 3 Sep 2015 08:06:51 +0000
(13:36 +0530)
committer
Eric Van Hensbergen
<ericvh@gmail.com>
Sat, 14 Nov 2015 14:12:41 +0000
(08:12 -0600)
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: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
net/9p/trans_virtio.c
patch
|
blob
|
history
diff --git
a/net/9p/trans_virtio.c
b/net/9p/trans_virtio.c
index 6e70ddb158b4bc121a0f32e7a53fecf8125e8354..3827760c8eefd4d2766015679311e3222aa890b2 100644
(file)
--- a/
net/9p/trans_virtio.c
+++ b/
net/9p/trans_virtio.c
@@
-662,7
+662,7
@@
p9_virtio_create(struct p9_client *client, const char *devname, char *args)
mutex_unlock(&virtio_9p_lock);
if (!found) {
- pr_err("no channels available
\n"
);
+ pr_err("no channels available
for device %s\n", devname
);
return ret;
}