From: Chris Mason Date: Sat, 5 Aug 2006 19:15:10 +0000 (-0700) Subject: [PATCH] reiserfs_write_full_page() should not get_block past eof X-Git-Tag: v2.6.18-rc4~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4c76fa721c7c8a43655a74e508870d21d2e26d3;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed