]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
NFS: Fix typo in comments of nfs_readdir_alloc_pages()
authorzhangliguang <zhangliguang@linux.alibaba.com>
Sat, 16 Feb 2019 00:38:40 +0000 (08:38 +0800)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 20 Feb 2019 22:33:55 +0000 (17:33 -0500)
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>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/dir.c

index a112b67a3f8f2e556252bd459a3ed1e0b7ea4a9d..a71d0b42d16053f65a76a885b5fe1c38b819df1c 100644 (file)
@@ -605,8 +605,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)