jffs2:Remove no longer needed fix me comment for the function, jffs2_do_readpage_nolock
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.
Signed-off-by Nicholas Krause <[email protected]>
--- fs/jffs2/file.c | 1 - 1 file changed, 1 deletion(-)
fs/jffs2/file.c +0 -1
@@ -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