Commit 8ab1784d authored by Zheng Yongjun's avatar Zheng Yongjun Committed by David S. Miller

9p/trans_virtio: Fix spelling mistakes

reseting  ==> resetting
alloced  ==> allocated
accomodate  ==> accommodate
Signed-off-by: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b676c7f1
...@@ -99,7 +99,7 @@ static unsigned int rest_of_page(void *data) ...@@ -99,7 +99,7 @@ static unsigned int rest_of_page(void *data)
* @client: client instance * @client: client instance
* *
* This reclaims a channel by freeing its resources and * This reclaims a channel by freeing its resources and
* reseting its inuse flag. * resetting its inuse flag.
* *
*/ */
...@@ -463,7 +463,7 @@ p9_virtio_zc_request(struct p9_client *client, struct p9_req_t *req, ...@@ -463,7 +463,7 @@ p9_virtio_zc_request(struct p9_client *client, struct p9_req_t *req,
* For example TREAD have 11. * For example TREAD have 11.
* 11 is the read/write header = PDU Header(7) + IO Size (4). * 11 is the read/write header = PDU Header(7) + IO Size (4).
* Arrange in such a way that server places header in the * Arrange in such a way that server places header in the
* alloced memory and payload onto the user buffer. * allocated memory and payload onto the user buffer.
*/ */
in = pack_sg_list(chan->sg, out, in = pack_sg_list(chan->sg, out,
VIRTQUEUE_NUM, req->rc.sdata, in_hdr_len); VIRTQUEUE_NUM, req->rc.sdata, in_hdr_len);
...@@ -760,7 +760,7 @@ static struct p9_trans_module p9_virtio_trans = { ...@@ -760,7 +760,7 @@ static struct p9_trans_module p9_virtio_trans = {
.cancelled = p9_virtio_cancelled, .cancelled = p9_virtio_cancelled,
/* /*
* We leave one entry for input and one entry for response * We leave one entry for input and one entry for response
* headers. We also skip one more entry to accomodate, address * headers. We also skip one more entry to accommodate, address
* that are not at page boundary, that can result in an extra * that are not at page boundary, that can result in an extra
* page in zero copy. * page in zero copy.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment