From: Goldwyn Rodrigues Date: Thu, 17 Feb 2011 15:44:40 +0000 (-0600) Subject: Treat writes as new when holes span across page boundaries X-Git-Tag: v2.6.39-rc1~26^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=272b62c1f0f6f742046e45b50b6fec98860208a0;p=pandora-kernel.git Treat writes as new when holes span across page boundaries When a hole spans across page boundaries, the next write forces a read of the block. This could end up reading existing garbage data from the disk in ocfs2_map_page_blocks. This leads to non-zero holes. In order to avoid this, mark the writes as new when the holes span across page boundaries. Signed-off-by: Goldwyn Rodrigues Signed-off-by: jlbec --- Reading git-diff-tree failed