Linux-NFS Archive on lore.kernel.org
 help / Atom feed
* [PATCH] fs/nfs: Fix typo in comments of nfs_readdir_alloc_pages()
@ 2019-01-02  7:02 zhangliguang
  0 siblings, 0 replies; 1+ messages in thread
From: zhangliguang @ 2019-01-02  7:02 UTC (permalink / raw)
  To: linux-nfs; +Cc: trond.myklebust, anna.schumaker, shan.gavin

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 --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)
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 1+ messages in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-02  7:02 [PATCH] fs/nfs: Fix typo in comments of nfs_readdir_alloc_pages() zhangliguang

Linux-NFS Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-nfs/0 linux-nfs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-nfs linux-nfs/ https://lore.kernel.org/linux-nfs \
		linux-nfs@vger.kernel.org linux-nfs@archiver.kernel.org
	public-inbox-index linux-nfs


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-nfs


AGPL code for this site: git clone https://public-inbox.org/ public-inbox