From: Sunil Mushran Date: Thu, 6 Aug 2009 23:12:58 +0000 (-0700) Subject: ocfs2: Initialize the cluster we're writing to in a non-sparse extend X-Git-Tag: v2.6.31-rc6~5^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7432675f8ca868a4af365759a8d4c3779a3d922;p=pandora-kernel.git ocfs2: Initialize the cluster we're writing to in a non-sparse extend In a non-sparse extend, we correctly allocate (and zero) the clusters between the old_i_size and pos, but we don't zero the portions of the cluster we're writing to outside of pos<->len. It handles clustersize > pagesize and blocksize < pagesize. [Cleaned up by Joel Becker.] Signed-off-by: Sunil Mushran Signed-off-by: Joel Becker --- Reading git-diff-tree failed