From: Yongqiang Yang Date: Wed, 14 Dec 2011 03:29:12 +0000 (-0500) Subject: ext4: handle EOF correctly in ext4_bio_write_page() X-Git-Tag: v3.2-rc6~16^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a0dc7365c240795bf190766eba7a27600be3b3e;p=pandora-kernel.git ext4: handle EOF correctly in ext4_bio_write_page() We need to zero out part of a page which beyond EOF before setting uptodate, otherwise, mapread or write will see non-zero data beyond EOF. Signed-off-by: Yongqiang Yang Signed-off-by: "Theodore Ts'o" Cc: stable@kernel.org --- Reading git-diff-tree failed