Commit 6eb8058f authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] do_generic_mapping_read() cleanup

We just tested the page's uptodateness, no point in doing it again.
parent 54a50867
......@@ -723,9 +723,6 @@ void do_generic_mapping_read(struct address_space *mapping,
break;
page_not_up_to_date:
if (PageUptodate(page))
goto page_ok;
/* Get exclusive access to the page ... */
lock_page(page);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment