From: Jonathan Brassow Date: Thu, 2 Apr 2009 18:55:35 +0000 (+0100) Subject: dm snapshot: persistent fix dtr cleanup X-Git-Tag: v2.6.30-rc1~230^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a32079ce17899192a7b98a42753be467605a8b2f;p=pandora-kernel.git dm snapshot: persistent fix dtr cleanup The persistent exception store destructor does not properly account for all conditions in which it can be called. If it is called after 'ctr' but before 'read_metadata' (e.g. if something else in 'snapshot_ctr' fails) then it will attempt to free areas of memory that haven't been allocated yet. Signed-off-by: Jonathan Brassow Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed