* [PATCH] NFS: Fix typo in comments of nfs_readdir_alloc_pages()
@ 2019-02-16 0:38 zhangliguang
0 siblings, 0 replies; only message in thread
From: zhangliguang @ 2019-02-16 0:38 UTC (permalink / raw)
To: trond.myklebust, anna.schumaker; +Cc: zhangliguang, linux-nfs
This fixes the typo in comments of nfs_readdir_alloc_pages().
Because nfs_readdir_large_page and nfs_readdir_free_pagearray had been
renamed.
Signed-off-by: Liguang Zhang <zhangliguang@linux.alibaba.com>
---
fs/nfs/dir.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index 6bf4471..051c173 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -574,8 +574,8 @@ void nfs_readdir_free_pages(struct page **pages, unsigned int npages)
}
/*
- * nfs_readdir_large_page will allocate pages that must be freed with a call
- * to nfs_readdir_free_pagearray
+ * nfs_readdir_alloc_pages() will allocate pages that must be freed with a call
+ * to nfs_readdir_free_pages()
*/
static
int nfs_readdir_alloc_pages(struct page **pages, unsigned int npages)
--
1.8.3.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-02-16 0:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-16 0:38 [PATCH] NFS: Fix typo in comments of nfs_readdir_alloc_pages() zhangliguang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).