]> git.hungrycats.org Git - linux/commitdiff
[PATCH] do_generic_mapping_read() cleanup
authorAndrew Morton <akpm@osdl.org>
Wed, 19 May 2004 09:38:53 +0000 (02:38 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 19 May 2004 09:38:53 +0000 (02:38 -0700)
We just tested the page's uptodateness, no point in doing it again.

mm/filemap.c

index 1b2596a123d5a5568113cbe9fb3a9a87c06324e8..38da105bbe0fbc2240aed8eefe02c2c1f94b59d7 100644 (file)
@@ -723,9 +723,6 @@ page_ok:
                break;
 
 page_not_up_to_date:
-               if (PageUptodate(page))
-                       goto page_ok;
-
                /* Get exclusive access to the page ... */
                lock_page(page);