Commit [a51171] Maximize Restore History

[PATCH] broken fault_in_pages_readable call in generic_file_buffered_write()

fault_in_pages_readable() is being passed an incorrect `end' address, which
can result in writes accidentally faulting in pages which will not be affected
by the write() call.

Signed-off-by: Martin Schwidefsky <>
Signed-off-by: Andrew Morton <>
Signed-off-by: Linus Torvalds <>

Martin Schwidefsky Martin Schwidefsky 2005-06-06

Linus Torvalds Linus Torvalds 2005-06-06

changed mm
changed mm/filemap.c
mm/filemap.c Diff Switch to side-by-side view