]> err.no Git - linux-2.6/commit
mm: simplify filemap_nopage
authorNick Piggin <npiggin@suse.de>
Sun, 6 May 2007 21:49:16 +0000 (14:49 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:12:52 +0000 (12:12 -0700)
commita8127717cb24be7b8827a8d9e0ddbfde6b392146
tree3b7d5556f127263b600bbcb44437c4c1739c000a
parent14e072984179d3d421bf9ab75cc67e0961742841
mm: simplify filemap_nopage

Identical block is duplicated twice: contrary to the comment, we have been
re-reading the page *twice* in filemap_nopage rather than once.

If any retry logic or anything is needed, it belongs in lower levels anyway.
Only retry once.  Linus agrees.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/filemap.c