From: Dmitry Monakhov Date: Sun, 16 May 2010 10:00:00 +0000 (-0400) Subject: ext4: Do not zero out uninitialized extents beyond i_size X-Git-Tag: v2.6.35-rc1~39^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21ca087a3891efab4d45488db8febee474d26c68;p=pandora-kernel.git ext4: Do not zero out uninitialized extents beyond i_size The extents code will sometimes zero out blocks and mark them as initialized instead of splitting an extent into several smaller ones. This optimization however, causes problems if the extent is beyond i_size because fsck will complain if there are uninitialized blocks after i_size as this can not be distinguished from an inode that has an incorrect i_size field. https://bugzilla.kernel.org/show_bug.cgi?id=15742 Signed-off-by: Dmitry Monakhov Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed