diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2015-09-03 13:36:51 +0530 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2015-11-14 08:12:41 -0600 |
commit | c7c72c5a127507687c737ede0f97d85bde674433 (patch) | |
tree | ce5b6c0ca863df4edf1b5fd06a3133c898be0b60 /net | |
parent | 63f4f7e8df6c504f39c6493799b54775916030d6 (diff) | |
download | blackbird-op-linux-c7c72c5a127507687c737ede0f97d85bde674433.tar.gz blackbird-op-linux-c7c72c5a127507687c737ede0f97d85bde674433.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c index 6e70ddb158b4..3827760c8eef 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; } |