Thread (3 messages) 3 messages, 1 author, 2020-09-07
STALE2126d

[PATCH v2 2/2] fs: isofs: fix incorrect comment in zisofs_readpage()

From: Bean Huo <hidden>
Date: 2020-09-07 11:33:00
Also in: lkml
Subsystem: filesystems (vfs and infrastructure), isofs filesystem, the rest · Maintainers: Alexander Viro, Christian Brauner, Jan Kara, Linus Torvalds

From: Bean Huo <redacted>

do_generic_file_read() has been renamed to eneric_file_buffered_read()
since commit 47c27bc46946 ("fs: pass iocb to do_generic_file_read"), so
relpace it with generic_file_buffered_read() in the comment.

Signed-off-by: Bean Huo <redacted>
---
 fs/isofs/compress.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/isofs/compress.c b/fs/isofs/compress.c
index bc12ac7e2312..7541581c1064 100644
--- a/fs/isofs/compress.c
+++ b/fs/isofs/compress.c
@@ -312,7 +312,7 @@ static int zisofs_readpage(struct file *file, struct page *page)
 	end_index = (inode->i_size + PAGE_SIZE - 1) >> PAGE_SHIFT;
 	/*
 	 * If this page is wholly outside i_size we just return zero;
-	 * do_generic_file_read() will handle this for us
+	 * generic_file_buffered_read() will handle this for us
 	 */
 	if (index >= end_index) {
 		SetPageUptodate(page);
-- 
2.17.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help