diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2015-09-03 10:06:51 +0200 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2015-11-14 15:12:41 +0100 |
commit | c7c72c5a127507687c737ede0f97d85bde674433 (patch) | |
tree | ce5b6c0ca863df4edf1b5fd06a3133c898be0b60 /net/9p/trans_virtio.c | |
parent | Merge tag 'chrome-platform-4.4' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
download | linux-c7c72c5a127507687c737ede0f97d85bde674433.tar.xz 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/9p/trans_virtio.c')
-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; } |