Skip to content

Commit

Permalink
net/9p: Add device name details on error
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Aneesh Kumar K.V authored and Eric Van Hensbergen committed Nov 14, 2015
1 parent 63f4f7e commit c7c72c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/9p/trans_virtio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit c7c72c5

Please sign in to comment.