From: Liu Bo Date: Thu, 24 Jul 2014 14:48:05 +0000 (+0800) Subject: Btrfs: fix compressed write corruption on enospc X-Git-Tag: omap-for-v3.17/fixes-against-rc2~48^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce62003f690dff38d3164a632ec69efa15c32cbf;p=pandora-kernel.git Btrfs: fix compressed write corruption on enospc When failing to allocate space for the whole compressed extent, we'll fallback to uncompressed IO, but we've forgotten to redirty the pages which belong to this compressed extent, and these 'clean' pages will simply skip 'submit' part and go to endio directly, at last we got data corruption as we write nothing. Signed-off-by: Liu Bo Tested-By: Martin Steigerwald Signed-off-by: Chris Mason --- Reading git-diff-tree failed