From: Dave Chinner Date: Mon, 14 Apr 2014 08:15:11 +0000 (+1000) Subject: xfs: zeroing space needs to punch delalloc blocks X-Git-Tag: omap-for-v3.16/pm-signed~90^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=897b73b6a2ee5d3c06648b601beb1724f7fbd678;p=pandora-kernel.git xfs: zeroing space needs to punch delalloc blocks When we are zeroing space andit is covered by a delalloc range, we need to punch the delalloc range out before we truncate the page cache. Failing to do so leaves and inconsistency between the page cache and the extent tree, which we later trip over when doing direct IO over the same range. Signed-off-by: Dave Chinner Tested-by: Brian Foster Reviewed-by: Christoph Hellwig Signed-off-by: Dave Chinner --- Reading git-diff-tree failed