From: Allison Henderson Date: Wed, 7 Sep 2011 01:53:01 +0000 (-0400) Subject: ext4: fix partial page writes X-Git-Tag: v3.2-rc1~85^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02fac1297eb3f471a27368271aadd285548297b0;p=pandora-kernel.git ext4: fix partial page writes While running extended fsx tests to verify the preceeding patches, a similar bug was also found in the write operation When ever a write operation begins or ends in a hole, or extends EOF, the partial page contained in the hole or beyond EOF needs to be zeroed out. To correct this the new ext4_discard_partial_page_buffers_no_lock routine is used to zero out the partial page, but only for buffer heads that are already unmapped. Signed-off-by: Allison Henderson Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed