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.27.32~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8338941200d9188e3c866dd16cc2848754947895;p=pandora-kernel.git ocfs2: Initialize the cluster we're writing to in a non-sparse extend commit e7432675f8ca868a4af365759a8d4c3779a3d922 upstream. 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed