[PATCH] broken fault_in_pages_readable call in generic_file_buffered_write()
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 6 Jun 2005 20:35:54 +0000 (13:35 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 6 Jun 2005 21:42:23 +0000 (14:42 -0700)
commita51171816826b074828fa96cb6ef60fc3b13631a
treee3c6f7a9852d45e9fdec75d7c71548ba404625e7
parent7cef5677ef3a8084f2588ce0a129dc95d65161f6
[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 <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/filemap.c