[PATCH] fs:jffs2: Remove no longer valid fix me comment in file.c

Nicholas Krause xerofoify at gmail.com
Tue Dec 16 14:49:32 PST 2014


Removes no longer needed fix me comment in file.c due to the function kmap not being about to fail in the function, jffs2_do_readpage_nolock
and therefore there needs be no error checking after the call to kmap for mapping memory from high memory into the kernel's pages.

Signed-off-by: Nicholas Krause <xerofoify at gmail.com>
---
 fs/jffs2/file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/jffs2/file.c b/fs/jffs2/file.c
index 64989ca..8798a61 100644
--- a/fs/jffs2/file.c
+++ b/fs/jffs2/file.c
@@ -94,7 +94,7 @@ static int jffs2_do_readpage_nolock (struct inode *inode, struct page *pg)
 	BUG_ON(!PageLocked(pg));
 
 	pg_buf = kmap(pg);
-	/* FIXME: Can kmap fail? */
+
 
 	ret = jffs2_read_inode_range(c, f, pg_buf, pg->index << PAGE_CACHE_SHIFT, PAGE_CACHE_SIZE);
 
-- 
2.1.0




More information about the linux-mtd mailing list