]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] libfs: remove page up-to-date check from simple_readpage
authorPekka J Enberg <penberg@cs.Helsinki.FI>
Fri, 29 Sep 2006 08:59:09 +0000 (01:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:06 +0000 (09:18 -0700)
commitc0d92cbc5849f26451f478d538b8d885ae547221
treebf5ef7e15c6f35443a8e156f3bcd9c6642004cdd
parentcfedc920a7bca828fd4af8e203f7d8514990f999
[PATCH] libfs: remove page up-to-date check from simple_readpage

Remove the unnecessary PageUptodate check from simple_readpage.  The only
two callers for ->readpage that don't have explicit PageUptodate check are
read_cache_pages and page_cache_read which operate on newly allocated pages
which don't have the flag set.

[akpm: use the allegedly-faster clear_page(), too]
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/libfs.c