diff options
| author | Chris Mason <mason@suse.com> | 2006-08-05 12:15:10 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-08-06 08:57:49 -0700 |
| commit | b4c76fa721c7c8a43655a74e508870d21d2e26d3 (patch) | |
| tree | b8c69298a29e3476413da922f7fd6c13cb750f83 /drivers/pci/hotplug/ibmphp_pci.c | |
| parent | b5f3953c10b27fcd1c83e199e573b41d8327e22e (diff) | |
[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/pci/hotplug/ibmphp_pci.c')
0 files changed, 0 insertions, 0 deletions
