summaryrefslogtreecommitdiffstats
path: root/net/9p/trans_common.c
diff options
context:
space:
mode:
authorSun Lianwen <sunlw.fnst@cn.fujitsu.com>2018-05-08 09:49:38 +0800
committerDavid S. Miller <davem@davemloft.net>2018-05-10 08:21:53 -0400
commit4a026da91caaa36004a53a844dd00959370ea8fc (patch)
tree466fc79def3ad82e8cd48f3c06a64f6dccb30e5a /net/9p/trans_common.c
parent3148dedfe79e422f448a10250d3e2cdf8b7ee617 (diff)
downloadlinux-4a026da91caaa36004a53a844dd00959370ea8fc.tar.gz
linux-4a026da91caaa36004a53a844dd00959370ea8fc.tar.bz2
linux-4a026da91caaa36004a53a844dd00959370ea8fc.zip
net/9p: correct some comment errors in 9p file system code
There are follow comment errors: 1 The function name is wrong in p9_release_pages() comment. 2 The function name and variable name is wrong in p9_poll_workfn() comment. 3 There is no variable dm_mr and lkey in struct p9_trans_rdma. 4 The function name is wrong in rdma_create_trans() comment. 5 There is no variable initialized in struct virtio_chan. 6 The variable name is wrong in p9_virtio_zc_request() comment. Signed-off-by: Sun Lianwen <sunlw.fnst@cn.fujitsu.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/9p/trans_common.c')
-rw-r--r--net/9p/trans_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/9p/trans_common.c b/net/9p/trans_common.c
index 38aa6345bdfa..b718db2085b2 100644
--- a/net/9p/trans_common.c
+++ b/net/9p/trans_common.c
@@ -16,7 +16,7 @@
#include <linux/module.h>
/**
- * p9_release_req_pages - Release pages after the transaction.
+ * p9_release_pages - Release pages after the transaction.
*/
void p9_release_pages(struct page **pages, int nr_pages)
{