Skip to contentSkip to conversation

jffs2:Remove no longer needed fix me comment for the function, jffs2_do_readpage_nolock

PATCH New Nicholas Krause 1 participant 1 message Jan 31, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 jffs2:Remove no longer needed fix me comment for the function, jffs2_do_readpage_nolock

This fix me comment is no longer needed due to kmap not being able to fail and always returning a address mapped in high memory as required for this function. There for this fix me can now be removed as kmap always succeeds and there is no reason to check if it fails.

---
 fs/jffs2/file.c | 1 -
 1 file changed, 1 deletion(-)
fs/jffs2/file.c +0 -1
index 64989ca..84a2f7b 100644
@@ -94,7 +94,6 @@ 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);
 
Signature · 1 line
2.1.0