diff mbox series

fs/nfs: Fix typo in comments of nfs_readdir_alloc_pages()

Message ID 1546412554-18275-1-git-send-email-zhangliguang@linux.alibaba.com (mailing list archive)
State New, archived
Headers show
Series fs/nfs: Fix typo in comments of nfs_readdir_alloc_pages() | expand

Commit Message

luanshi Jan. 2, 2019, 7:02 a.m. UTC
This fixes the typo in comments of nfs_readdir_alloc_pages().

Signed-off-by: Liguang Zhang <zhangliguang@linux.alibaba.com>
---
 fs/nfs/dir.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index 71b2e39..0b33125 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -579,8 +579,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)