From: Mikulas Patocka Date: Tue, 21 Oct 2008 16:44:56 +0000 (+0100) Subject: dm exception store: fix misordered writes X-Git-Tag: v2.6.28-rc1~41^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7acedc5b98a2fcff64f00c21110aae7d3ac2f7df;p=pandora-kernel.git dm exception store: fix misordered writes We must zero the next chunk on disk *before* writing out the current chunk, not after. Otherwise if the machine crashes at the wrong time, the "end of metadata" marker may be missing. Signed-off-by: Mikulas Patocka Signed-off-by: Alasdair G Kergon Cc: stable@kernel.org --- Reading git-diff-tree failed