]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit56e07d832f427827e6d26a3b034781f6c2ebdca0
treee3c6f7a9852d45e9fdec75d7c71548ba404625e7
parent6a485be51ea69dac662590dddb2cdf7a80a671c5
[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