From: Pekka J Enberg Date: Fri, 29 Sep 2006 08:59:09 +0000 (-0700) Subject: [PATCH] libfs: remove page up-to-date check from simple_readpage X-Git-Tag: v2.6.19-rc1~824 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0d92cbc5849f26451f478d538b8d885ae547221;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed