summaryrefslogtreecommitdiff
path: root/drivers/pnp
diff options
context:
space:
mode:
authorChris Mason <mason@suse.com>2006-08-05 23:15:10 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-08-06 19:57:49 +0400
commitb4c76fa721c7c8a43655a74e508870d21d2e26d3 (patch)
treeb8c69298a29e3476413da922f7fd6c13cb750f83 /drivers/pnp
parentb5f3953c10b27fcd1c83e199e573b41d8327e22e (diff)
downloadlinux-b4c76fa721c7c8a43655a74e508870d21d2e26d3.tar.xz
[PATCH] reiserfs_write_full_page() should not get_block past eof
reiserfs_write_full_page does zero bytes in the file past eof, but it may call get_block on those buffers as well. On machines where the page size is larger than the blocksize, this can result in mmaped files incorrectly growing up to a block boundary during writepage. The fix is to avoid calling get_block for any blocks that are entirely past eof Signed-off-by: Chris Mason <mason@suse.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions