summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2015-09-03 13:36:51 +0530
committerEric Van Hensbergen <ericvh@gmail.com>2015-11-14 08:12:41 -0600
commitc7c72c5a127507687c737ede0f97d85bde674433 (patch)
treece5b6c0ca863df4edf1b5fd06a3133c898be0b60 /net
parent63f4f7e8df6c504f39c6493799b54775916030d6 (diff)
downloadop-kernel-dev-c7c72c5a127507687c737ede0f97d85bde674433.zip
op-kernel-dev-c7c72c5a127507687c737ede0f97d85bde674433.tar.gz
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: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net')
-rw-r--r--net/9p/trans_virtio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c
index 6e70ddb..3827760 100644
--- 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;
}
OpenPOWER on IntegriCloud