diff options
| author | Chris Mason <[email protected]> | 2006-08-05 12:15:10 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-08-06 08:57:49 -0700 |
| commit | b4c76fa721c7c8a43655a74e508870d21d2e26d3 (patch) | |
| tree | b8c69298a29e3476413da922f7fd6c13cb750f83 /scripts | |
| 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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions